diff options
Diffstat (limited to 'src/mame/drivers/gsword.c')
-rw-r--r-- | src/mame/drivers/gsword.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/gsword.c b/src/mame/drivers/gsword.c index 5f5708a0180..f4f856e4159 100644 --- a/src/mame/drivers/gsword.c +++ b/src/mame/drivers/gsword.c @@ -903,7 +903,7 @@ ROM_END static DRIVER_INIT( gsword ) { #if 0 - UINT8 *ROM2 = machine.region("sub")->base(); + UINT8 *ROM2 = machine.root_device().memregion("sub")->base(); ROM2[0x1da] = 0xc3; /* patch for rom self check */ ROM2[0x71e] = 0; /* patch for sound protection or time out function */ @@ -919,7 +919,7 @@ static DRIVER_INIT( gsword ) static DRIVER_INIT( gsword2 ) { #if 0 - UINT8 *ROM2 = machine.region("sub")->base(); + UINT8 *ROM2 = machine.root_device().memregion("sub")->base(); ROM2[0x1da] = 0xc3; /* patch for rom self check */ ROM2[0x726] = 0; /* patch for sound protection or time out function */ |