From 25257178511f639f436e1959d1a92b689b171d4e Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Thu, 21 Jan 2021 09:38:33 +0100 Subject: gauntlet: Add missing triggers, will do better later --- src/mame/drivers/gauntlet.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/mame/drivers/gauntlet.cpp b/src/mame/drivers/gauntlet.cpp index a116f5ff1e4..cf8398639c6 100644 --- a/src/mame/drivers/gauntlet.cpp +++ b/src/mame/drivers/gauntlet.cpp @@ -1663,6 +1663,15 @@ void gauntlet_state::common_init(int vindctr2) [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); }); + + // Out-of-range access on alternate 1 + m_maincpu->space(AS_PROGRAM).install_readwrite_tap(0x4fed0, 0x4fed3, 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); }); + m_maincpu->space(AS_PROGRAM).install_readwrite_tap(0x56e54, 0x56e57, 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); }); + // swap the top and bottom halves of the main CPU ROM images swap_memory(rom + 0x000000, rom + 0x008000, 0x8000); swap_memory(rom + 0x040000, rom + 0x048000, 0x8000); -- cgit v1.2.3