summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/deco_mlc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/deco_mlc.c')
-rw-r--r--src/mame/drivers/deco_mlc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/deco_mlc.c b/src/mame/drivers/deco_mlc.c
index 2e5582da3d2..49193b71d81 100644
--- a/src/mame/drivers/deco_mlc.c
+++ b/src/mame/drivers/deco_mlc.c
@@ -693,8 +693,8 @@ ROM_END
static void descramble_sound( running_machine &machine )
{
/* the same as simpl156 / heavy smash? */
- UINT8 *rom = machine.region("ymz")->base();
- int length = machine.region("ymz")->bytes();
+ UINT8 *rom = machine.root_device().memregion("ymz")->base();
+ int length = machine.root_device().memregion("ymz")->bytes();
UINT8 *buf1 = auto_alloc_array(machine, UINT8, length);
UINT32 x;