mirror of
https://github.com/holub/mame
synced 2025-07-05 09:57:47 +03:00
peter packrat: fix slapstic too
This commit is contained in:
parent
bfb99e2a8e
commit
40a05f4dbc
@ -2499,10 +2499,14 @@ void atarisy1_state::init_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 slapstic seems to trigger on the whole rom, but that slows things down too much. limit to the range marble madness actually needs
|
||||
// Some states of the slapstic seems trigger on the whole address space, but that slows things down too much and this point.
|
||||
// limit to the ranges marble madness and peterpak actually need
|
||||
m_maincpu->space(AS_PROGRAM).install_readwrite_tap(0x2ff5a, 0x2ff5b, 0, "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(0x101d4, 0x101d9, 0, "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); });
|
||||
}
|
||||
|
||||
void atarisy1_state::init_marble()
|
||||
|
Loading…
Reference in New Issue
Block a user