summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/dynadice.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/dynadice.c')
-rw-r--r--src/mame/drivers/dynadice.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/dynadice.c b/src/mame/drivers/dynadice.c
index c8973d26d3f..96398f6d791 100644
--- a/src/mame/drivers/dynadice.c
+++ b/src/mame/drivers/dynadice.c
@@ -294,10 +294,10 @@ ROM_END
static DRIVER_INIT( dynadice )
{
int i, j;
- UINT8 *usr1 = machine.region("user1")->base();
- UINT8 *cpu2 = machine.region("audiocpu")->base();
- UINT8 *gfx1 = machine.region("gfx1")->base();
- UINT8 *gfx2 = machine.region("gfx2")->base();
+ UINT8 *usr1 = machine.root_device().memregion("user1")->base();
+ UINT8 *cpu2 = machine.root_device().memregion("audiocpu")->base();
+ UINT8 *gfx1 = machine.root_device().memregion("gfx1")->base();
+ UINT8 *gfx2 = machine.root_device().memregion("gfx2")->base();
cpu2[0x0b] = 0x23; /* bug in game code Dec HL -> Inc HL*/