summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/atari.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/atari.c')
-rw-r--r--src/mame/machine/atari.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/atari.c b/src/mame/machine/atari.c
index 61c314831e7..a25b33ba052 100644
--- a/src/mame/machine/atari.c
+++ b/src/mame/machine/atari.c
@@ -112,7 +112,7 @@ void a600xl_mmu(running_machine &machine, UINT8 new_mmu)
logerror("%s MMU SELFTEST ROM\n", machine.system().name);
machine.device("maincpu")->memory().space(AS_PROGRAM)->install_read_bank(0x5000, 0x57ff, "bank2");
machine.device("maincpu")->memory().space(AS_PROGRAM)->unmap_write(0x5000, 0x57ff);
- machine.root_device().membank("bank2")->set_base(machine.region("maincpu")->base() + 0x5000);
+ machine.root_device().membank("bank2")->set_base(machine.root_device().memregion("maincpu")->base() + 0x5000);
}
}