summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/hshavoc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/hshavoc.c')
-rw-r--r--src/mame/drivers/hshavoc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/hshavoc.c b/src/mame/drivers/hshavoc.c
index 264c7804dec..356f4a65e14 100644
--- a/src/mame/drivers/hshavoc.c
+++ b/src/mame/drivers/hshavoc.c
@@ -119,7 +119,7 @@ static DRIVER_INIT(hshavoc)
{
int x;
- UINT16 *src = (UINT16 *)machine.region("maincpu")->base();
+ UINT16 *src = (UINT16 *)machine.root_device().memregion("maincpu")->base();
static const UINT16 typedat[16] = {
1,1,1,1, 1,1,1,1,