mirror of
https://github.com/holub/mame
synced 2025-07-04 09:28:51 +03:00
rampart: Fix MT#7119, big thanks to rodneylives for all his help
This commit is contained in:
parent
a22ed71626
commit
ece8353b07
@ -498,6 +498,10 @@ void rampart_state::machine_start()
|
||||
m_maincpu->space(AS_PROGRAM).install_readwrite_tap(0x140000, 0x147fff, 0x438000, "slapstic",
|
||||
[this](offs_t offset, u16 &data, u16 mem_mask) { m_slapstic->tweak(offset >> 1); },
|
||||
[this](offs_t offset, u16 &data, u16 mem_mask) { m_slapstic->tweak(offset >> 1); });
|
||||
// The slaptic seems to trigger on the whole rom, but that slows things down too much. limit to the range marble madness actually needs
|
||||
m_maincpu->space(AS_PROGRAM).install_readwrite_tap(0x040000, 0x041fff, 0x000000, "slapstic",
|
||||
[this](offs_t offset, u16 &data, u16 mem_mask) { m_slapstic->tweak(offset >> 1); },
|
||||
[this](offs_t offset, u16 &data, u16 mem_mask) { m_slapstic->tweak(offset >> 1); });
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user