summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/taito_x.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/taito_x.c')
-rw-r--r--src/mame/drivers/taito_x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/taito_x.c b/src/mame/drivers/taito_x.c
index 3a32dae892b..f1390a12435 100644
--- a/src/mame/drivers/taito_x.c
+++ b/src/mame/drivers/taito_x.c
@@ -412,7 +412,7 @@ static void reset_sound_region(running_machine &machine)
{
taitox_state *state = machine.driver_data<taitox_state>();
- state->membank("bank2")->set_base(machine.region("audiocpu")->base() + (state->m_banknum * 0x4000) + 0x10000 );
+ state->membank("bank2")->set_base(state->memregion("audiocpu")->base() + (state->m_banknum * 0x4000) + 0x10000 );
}
WRITE8_MEMBER(taitox_state::sound_bankswitch_w)