diff options
Diffstat (limited to 'src/mame/drivers/exprraid.c')
-rw-r--r-- | src/mame/drivers/exprraid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/exprraid.c b/src/mame/drivers/exprraid.c index 52941743d23..0f458c7e02c 100644 --- a/src/mame/drivers/exprraid.c +++ b/src/mame/drivers/exprraid.c @@ -732,7 +732,7 @@ static void exprraid_gfx_expand(running_machine &machine) { /* Expand the background rom so we can use regular decode routines */ - UINT8 *gfx = machine.region("gfx3")->base(); + UINT8 *gfx = machine.root_device().memregion("gfx3")->base(); int offs = 0x10000 - 0x1000; int i; @@ -751,7 +751,7 @@ static void exprraid_gfx_expand(running_machine &machine) static DRIVER_INIT( wexpress ) { - UINT8 *rom = machine.region("maincpu")->base(); + UINT8 *rom = machine.root_device().memregion("maincpu")->base(); /* HACK: this set uses M6502 irq vectors but DECO CPU-16 opcodes??? */ rom[0xfff7] = rom[0xfffa]; |