From fd4393e60c22aa93fd94dba64bf330c924f79293 Mon Sep 17 00:00:00 2001 From: angelosa Date: Fri, 3 Nov 2023 21:18:51 +0100 Subject: taito/othunder.cpp: fix othunderu DIP default language to English, othunderj default to Japanese --- src/mame/taito/othunder.cpp | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/src/mame/taito/othunder.cpp b/src/mame/taito/othunder.cpp index a2cf3bd19f0..06f36fb28e6 100644 --- a/src/mame/taito/othunder.cpp +++ b/src/mame/taito/othunder.cpp @@ -525,23 +525,28 @@ static INPUT_PORTS_START( othunder ) PORT_CONFSETTING( 0x00, DEF_STR( Low ) ) INPUT_PORTS_END -static INPUT_PORTS_START( othundrj ) +static INPUT_PORTS_START( othunderj ) PORT_INCLUDE( othunder ) PORT_MODIFY( "DSWA" ) TAITO_COINAGE_JAPAN_OLD + + PORT_MODIFY( "DSWB" ) + PORT_DIPNAME( 0x80, 0x80, DEF_STR( Language ) ) + PORT_DIPSETTING( 0x00, DEF_STR( English ) ) + PORT_DIPSETTING( 0x80, DEF_STR( Japanese ) ) INPUT_PORTS_END -static INPUT_PORTS_START( othundu ) - PORT_INCLUDE( othundrj ) +static INPUT_PORTS_START( othunderu ) + PORT_INCLUDE( othunder ) + + PORT_MODIFY( "DSWA" ) + TAITO_COINAGE_JAPAN_OLD PORT_MODIFY( "DSWB" ) PORT_DIPNAME( 0x40, 0x40, DEF_STR( Continue_Price ) ) /* see notes */ PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) ) PORT_DIPSETTING( 0x40, "Same as Start" ) - PORT_DIPNAME( 0x80, 0x80, DEF_STR( Language ) ) - PORT_DIPSETTING( 0x00, DEF_STR( English ) ) - PORT_DIPSETTING( 0x80, DEF_STR( Japanese ) ) INPUT_PORTS_END @@ -880,7 +885,7 @@ ROM_END GAME( 1988, othunder, 0, othunder, othunder, othunder_state, empty_init, ORIENTATION_FLIP_X, "Taito Corporation Japan", "Operation Thunderbolt (World, rev 1)", MACHINE_SUPPORTS_SAVE ) GAME( 1988, othundero, othunder, othunder, othunder, othunder_state, empty_init, ORIENTATION_FLIP_X, "Taito Corporation Japan", "Operation Thunderbolt (World)", MACHINE_SUPPORTS_SAVE ) -GAME( 1988, othunderu, othunder, othunder, othundu, othunder_state, empty_init, ORIENTATION_FLIP_X, "Taito America Corporation", "Operation Thunderbolt (US, rev 1)", MACHINE_SUPPORTS_SAVE ) -GAME( 1988, othunderuo, othunder, othunder, othundu, othunder_state, empty_init, ORIENTATION_FLIP_X, "Taito America Corporation", "Operation Thunderbolt (US)", MACHINE_SUPPORTS_SAVE ) -GAME( 1988, othunderj, othunder, othunder, othundrj, othunder_state, empty_init, ORIENTATION_FLIP_X, "Taito Corporation", "Operation Thunderbolt (Japan)", MACHINE_SUPPORTS_SAVE ) -GAME( 1988, othunderjsc, othunder, othunder, othundrj, othunder_state, empty_init, ORIENTATION_FLIP_X, "Taito Corporation", "Operation Thunderbolt (Japan, SC)", MACHINE_SUPPORTS_SAVE ) +GAME( 1988, othunderu, othunder, othunder, othunderu, othunder_state, empty_init, ORIENTATION_FLIP_X, "Taito America Corporation", "Operation Thunderbolt (US, rev 1)", MACHINE_SUPPORTS_SAVE ) +GAME( 1988, othunderuo, othunder, othunder, othunderu, othunder_state, empty_init, ORIENTATION_FLIP_X, "Taito America Corporation", "Operation Thunderbolt (US)", MACHINE_SUPPORTS_SAVE ) +GAME( 1988, othunderj, othunder, othunder, othunderj, othunder_state, empty_init, ORIENTATION_FLIP_X, "Taito Corporation", "Operation Thunderbolt (Japan)", MACHINE_SUPPORTS_SAVE ) +GAME( 1988, othunderjsc, othunder, othunder, othunderj, othunder_state, empty_init, ORIENTATION_FLIP_X, "Taito Corporation", "Operation Thunderbolt (Japan, SC)", MACHINE_SUPPORTS_SAVE ) -- cgit v1.2.3