diff options
Diffstat (limited to 'src/mame/drivers/taito_b.c')
-rw-r--r-- | src/mame/drivers/taito_b.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/taito_b.c b/src/mame/drivers/taito_b.c index d4d0b828bb2..9c76fbbb2f4 100644 --- a/src/mame/drivers/taito_b.c +++ b/src/mame/drivers/taito_b.c @@ -2794,7 +2794,7 @@ MACHINE_CONFIG_END #if 0 static void ryujin_patch(void) { - UINT16 *rom = (UINT16*)machine.region("maincpu")->base(); + UINT16 *rom = (UINT16*)machine.root_device().memregion("maincpu")->base(); rom[ 0x62/2 ] = 1; //0 (already in rom) - Taito Corporation 1993 //1 - Taito America corp with blue FBI logo @@ -2849,7 +2849,7 @@ MACHINE_CONFIG_END #if 0 static void sbm_patch(void) { - UINT16 *rom = (UINT16*)machine.region("maincpu")->base(); + UINT16 *rom = (UINT16*)machine.root_device().memregion("maincpu")->base(); rom[ 0x7ffff/2 ] = 2; //US version } #endif @@ -3707,7 +3707,7 @@ ROM_END static DRIVER_INIT( taito_b ) { - machine.root_device().membank("bank1")->configure_entries(0, 4, machine.region("audiocpu")->base() + 0x10000, 0x4000); + machine.root_device().membank("bank1")->configure_entries(0, 4, machine.root_device().memregion("audiocpu")->base() + 0x10000, 0x4000); } GAME( 1989, masterw, 0, masterw, masterw, taito_b, ROT270, "Taito Corporation Japan", "Master of Weapon (World)", GAME_SUPPORTS_SAVE ) |