summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/suprloco.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/suprloco.c')
-rw-r--r--src/mame/drivers/suprloco.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/suprloco.c b/src/mame/drivers/suprloco.c
index fc735279004..24e63e32bc8 100644
--- a/src/mame/drivers/suprloco.c
+++ b/src/mame/drivers/suprloco.c
@@ -258,9 +258,9 @@ static DRIVER_INIT( suprloco )
int i, j, k, color_source, color_dest;
UINT8 *source, *dest, *lookup;
- source = machine.region("gfx1")->base();
+ source = machine.root_device().memregion("gfx1")->base();
dest = source + 0x6000;
- lookup = machine.region("proms")->base() + 0x0200;
+ lookup = machine.root_device().memregion("proms")->base() + 0x0200;
for (i = 0; i < 0x80; i++, lookup += 8)
{