summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/baraduke.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/baraduke.c')
-rw-r--r--src/mame/drivers/baraduke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/baraduke.c b/src/mame/drivers/baraduke.c
index 610d1f91b11..1fe26476c9f 100644
--- a/src/mame/drivers/baraduke.c
+++ b/src/mame/drivers/baraduke.c
@@ -536,7 +536,7 @@ static DRIVER_INIT( baraduke )
int i;
/* unpack the third tile ROM */
- rom = machine.region("gfx2")->base() + 0x8000;
+ rom = machine.root_device().memregion("gfx2")->base() + 0x8000;
for (i = 0x2000;i < 0x4000;i++)
{
rom[i + 0x2000] = rom[i];