summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/jackpool.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/jackpool.c')
-rw-r--r--src/mame/drivers/jackpool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/jackpool.c b/src/mame/drivers/jackpool.c
index 4f5e32b5c1e..a40d539c841 100644
--- a/src/mame/drivers/jackpool.c
+++ b/src/mame/drivers/jackpool.c
@@ -296,7 +296,7 @@ ROM_END
static DRIVER_INIT( jackpool )
{
- UINT16 *rom = (UINT16 *)machine.region("maincpu")->base();
+ UINT16 *rom = (UINT16 *)machine.root_device().memregion("maincpu")->base();
/* patch NVRAM routine */
rom[0x9040/2] = 0x6602;