summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/magtouch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/magtouch.c')
-rw-r--r--src/mame/drivers/magtouch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/magtouch.c b/src/mame/drivers/magtouch.c
index 5a5543ddb2a..db4c2fd4aff 100644
--- a/src/mame/drivers/magtouch.c
+++ b/src/mame/drivers/magtouch.c
@@ -201,7 +201,7 @@ static MACHINE_START( magtouch )
init_pc_common(machine, PCCOMMON_KEYBOARD_AT, magtouch_set_keyb_int);
- machine.root_device().membank("rombank")->configure_entries(0, 0x80, machine.region("game_prg")->base(), 0x8000 );
+ machine.root_device().membank("rombank")->configure_entries(0, 0x80, machine.root_device().memregion("game_prg")->base(), 0x8000 );
machine.root_device().membank("rombank")->set_entry(0);
// microtouch_init(machine, magtouch_microtouch_tx_callback, NULL);