Skip to content

Commit

Permalink
rampart: Fix MT#7119, big thanks to rodneylives for all his help
Browse files Browse the repository at this point in the history
  • Loading branch information
galibert committed Dec 14, 2020
1 parent a22ed71 commit ece8353
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/mame/drivers/rampart.cpp
Expand Up @@ -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); });
}


Expand Down

0 comments on commit ece8353

Please sign in to comment.