summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/rohga.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/rohga.c')
-rw-r--r--src/mame/drivers/rohga.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/rohga.c b/src/mame/drivers/rohga.c
index 3e62bafa40f..d7a4be56362 100644
--- a/src/mame/drivers/rohga.c
+++ b/src/mame/drivers/rohga.c
@@ -1558,8 +1558,8 @@ static DRIVER_INIT( nitrobal )
static DRIVER_INIT( schmeisr )
{
- const UINT8 *src = machine.region("gfx2")->base();
- UINT8 *dst = machine.region("gfx1")->base();
+ const UINT8 *src = machine.root_device().memregion("gfx2")->base();
+ UINT8 *dst = machine.root_device().memregion("gfx1")->base();
memcpy(dst, src, 0x20000);
memcpy(dst + 0x20000, src + 0x80000, 0x20000);