summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/btime.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/btime.c')
-rw-r--r--src/mame/machine/btime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/btime.c b/src/mame/machine/btime.c
index 8c87c64f10a..2d70f7fb3ed 100644
--- a/src/mame/machine/btime.c
+++ b/src/mame/machine/btime.c
@@ -6,7 +6,7 @@
READ8_MEMBER(btime_state::mmonkey_protection_r)
{
- UINT8 *RAM = machine().region("maincpu")->base();
+ UINT8 *RAM = memregion("maincpu")->base();
int ret = 0;
if (offset == 0x0000)
@@ -23,7 +23,7 @@ READ8_MEMBER(btime_state::mmonkey_protection_r)
WRITE8_MEMBER(btime_state::mmonkey_protection_w)
{
- UINT8 *RAM = machine().region("maincpu")->base();
+ UINT8 *RAM = memregion("maincpu")->base();
if (offset == 0)
{