diff options
Diffstat (limited to 'src/mame/drivers/travrusa.c')
-rw-r--r-- | src/mame/drivers/travrusa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/travrusa.c b/src/mame/drivers/travrusa.c index 4fc25c9b448..3027a27015b 100644 --- a/src/mame/drivers/travrusa.c +++ b/src/mame/drivers/travrusa.c @@ -453,7 +453,7 @@ ROM_END static DRIVER_INIT( motorace ) { int A, j; - UINT8 *rom = machine.region("maincpu")->base(); + UINT8 *rom = machine.root_device().memregion("maincpu")->base(); UINT8 *buffer = auto_alloc_array(machine, UINT8, 0x2000); memcpy(buffer, rom, 0x2000); @@ -471,7 +471,7 @@ static DRIVER_INIT( motorace ) static DRIVER_INIT( shtridra ) { int A; - UINT8 *rom = machine.region("maincpu")->base(); + UINT8 *rom = machine.root_device().memregion("maincpu")->base(); /* D3/D4 and D5/D6 swapped */ for (A = 0; A < 0x2000; A++) |