summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/sauro.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/sauro.c')
-rw-r--r--src/mame/drivers/sauro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/sauro.c b/src/mame/drivers/sauro.c
index 04e8b7bc762..864020f4f73 100644
--- a/src/mame/drivers/sauro.c
+++ b/src/mame/drivers/sauro.c
@@ -554,7 +554,7 @@ static DRIVER_INIT( tecfri )
/* This game doesn't like all memory to be initialized to zero, it won't
initialize the high scores */
- UINT8 *RAM = machine.region("maincpu")->base();
+ UINT8 *RAM = machine.root_device().memregion("maincpu")->base();
memset(&RAM[0xe000], 0, 0x100);
RAM[0xe000] = 1;