summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/2mindril.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/2mindril.c')
-rw-r--r--src/mame/drivers/2mindril.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/2mindril.c b/src/mame/drivers/2mindril.c
index 409b799b35a..a81a83e31f9 100644
--- a/src/mame/drivers/2mindril.c
+++ b/src/mame/drivers/2mindril.c
@@ -495,8 +495,8 @@ static void tile_decode(running_machine &machine)
{
UINT8 lsb,msb;
UINT32 offset,i;
- UINT8 *gfx = machine.region("gfx2")->base();
- int size=machine.region("gfx2")->bytes();
+ UINT8 *gfx = machine.root_device().memregion("gfx2")->base();
+ int size=machine.root_device().memregion("gfx2")->bytes();
int data;
/* Setup ROM formats:
@@ -528,8 +528,8 @@ static void tile_decode(running_machine &machine)
offset+=4;
}
- gfx = machine.region("gfx1")->base();
- size=machine.region("gfx1")->bytes();
+ gfx = machine.root_device().memregion("gfx1")->base();
+ size=machine.root_device().memregion("gfx1")->bytes();
offset = size/2;
for (i = size/2+size/4; i<size; i++)