summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/maxaflex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/maxaflex.c')
-rw-r--r--src/mame/drivers/maxaflex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/maxaflex.c b/src/mame/drivers/maxaflex.c
index a9b66c24218..8a8d5c54bcd 100644
--- a/src/mame/drivers/maxaflex.c
+++ b/src/mame/drivers/maxaflex.c
@@ -503,7 +503,7 @@ ROM_END
static DRIVER_INIT( a600xl )
{
- UINT8 *rom = machine.region("maincpu")->base();
+ UINT8 *rom = machine.root_device().memregion("maincpu")->base();
memcpy( rom + 0x5000, rom + 0xd000, 0x800 );
}