diff options
Diffstat (limited to 'src/mame/drivers/gaelco3d.c')
-rw-r--r-- | src/mame/drivers/gaelco3d.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/gaelco3d.c b/src/mame/drivers/gaelco3d.c index 1b12b691937..0f181ddaea5 100644 --- a/src/mame/drivers/gaelco3d.c +++ b/src/mame/drivers/gaelco3d.c @@ -206,7 +206,7 @@ static MACHINE_RESET( common ) state->m_framenum = 0; /* boot the ADSP chip */ - src = (UINT16 *)machine.region("user1")->base(); + src = (UINT16 *)state->memregion("user1")->base(); for (i = 0; i < (src[3] & 0xff) * 8; i++) { UINT32 opcode = ((src[i*4+0] & 0xff) << 16) | ((src[i*4+1] & 0xff) << 8) | (src[i*4+2] & 0xff); @@ -216,7 +216,7 @@ static MACHINE_RESET( common ) /* allocate a timer for feeding the autobuffer */ state->m_adsp_autobuffer_timer = machine.device<timer_device>("adsp_timer"); - state->membank("bank1")->configure_entries(0, 256, machine.region("user1")->base(), 0x4000); + state->membank("bank1")->configure_entries(0, 256, machine.root_device().memregion("user1")->base(), 0x4000); state->membank("bank1")->set_entry(0); /* keep the TMS32031 halted until the code is ready to go */ |