summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tank8.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/tank8.c')
-rw-r--r--src/mame/drivers/tank8.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/tank8.c b/src/mame/drivers/tank8.c
index 9e49c66e2c2..d4dbf198ced 100644
--- a/src/mame/drivers/tank8.c
+++ b/src/mame/drivers/tank8.c
@@ -464,10 +464,10 @@ ROM_END
static DRIVER_INIT( decode )
{
- const UINT8* DECODE = machine.region("user1")->base();
+ const UINT8* DECODE = machine.root_device().memregion("user1")->base();
- UINT8* p1 = machine.region("maincpu")->base() + 0x00000;
- UINT8* p2 = machine.region("maincpu")->base() + 0x10000;
+ UINT8* p1 = machine.root_device().memregion("maincpu")->base() + 0x00000;
+ UINT8* p2 = machine.root_device().memregion("maincpu")->base() + 0x10000;
int i;