summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mrdo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mrdo.c')
-rw-r--r--src/mame/drivers/mrdo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/mrdo.c b/src/mame/drivers/mrdo.c
index 23c274d39da..3f8d7c96147 100644
--- a/src/mame/drivers/mrdo.c
+++ b/src/mame/drivers/mrdo.c
@@ -34,7 +34,7 @@ There's a chance that certain bootlegs might have the different 8/20 MHz XTALS.
/* if a read from this address doesn't return the value it expects. */
READ8_MEMBER(mrdo_state::mrdo_SECRE_r)
{
- UINT8 *RAM = machine().region("maincpu")->base();
+ UINT8 *RAM = memregion("maincpu")->base();
return RAM[cpu_get_reg(&space.device(), Z80_HL)];
}