summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/expro02.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/expro02.c')
-rw-r--r--src/mame/drivers/expro02.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/expro02.c b/src/mame/drivers/expro02.c
index 88c83605985..a389e6757a7 100644
--- a/src/mame/drivers/expro02.c
+++ b/src/mame/drivers/expro02.c
@@ -314,7 +314,7 @@ WRITE16_MEMBER(expro02_state::galsnew_6295_bankswitch_w)
{
if (ACCESSING_BITS_8_15)
{
- UINT8 *rom = machine().region("oki")->base();
+ UINT8 *rom = memregion("oki")->base();
memcpy(&rom[0x30000],&rom[0x40000 + ((data >> 8) & 0x0f) * 0x10000],0x10000);
}
}
@@ -751,8 +751,8 @@ ROM_END
static DRIVER_INIT(galsnew)
{
- UINT32 *src = (UINT32 *)machine.region("gfx3" )->base();
- UINT32 *dst = (UINT32 *)machine.region("gfx2" )->base();
+ UINT32 *src = (UINT32 *)machine.root_device().memregion("gfx3" )->base();
+ UINT32 *dst = (UINT32 *)machine.root_device().memregion("gfx2" )->base();
int x, offset;