Properly fix confsettings for Mad Shark [Angelo Salese, hap, DopefishJustin]

This commit is contained in:
angelosa 2020-08-14 12:57:57 +02:00
parent 2c505740c3
commit b9b5c7695c

View File

@ -5209,19 +5209,22 @@ static INPUT_PORTS_START( madshark )
PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(5) PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(5)
PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_SERVICE1 ) PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_SERVICE1 )
PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_TILT ) PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_TILT )
/* These are NOT Dip Switches but jumpers */ // Soldered Jumpers on board
PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Unused ) ) PORT_CONFNAME( 0x0010, 0x0010, DEF_STR( Unused ) )
PORT_DIPSETTING( 0x0010, DEF_STR( Off ) ) PORT_CONFSETTING( 0x0010, DEF_STR( Off ) )
PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) PORT_CONFSETTING( 0x0000, DEF_STR( On ) )
PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Unused ) ) PORT_CONFNAME( 0x0020, 0x0020, DEF_STR( Unused ) )
PORT_DIPSETTING( 0x0020, DEF_STR( Off ) ) PORT_CONFSETTING( 0x0020, DEF_STR( Off ) )
PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) PORT_CONFSETTING( 0x0000, DEF_STR( On ) )
PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Unused ) ) PORT_CONFNAME( 0x0040, 0x0040, DEF_STR( Unused ) )
PORT_DIPSETTING( 0x0040, DEF_STR( Off ) ) PORT_CONFSETTING( 0x0040, DEF_STR( Off ) )
PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) PORT_CONFSETTING( 0x0000, DEF_STR( On ) )
PORT_DIPNAME( 0x0080, 0x0000, "Title Language" ) // Following changes the title GFX only
PORT_DIPSETTING( 0x0080, "Traditional Chinese" ) // TODO: pinpoint what Saikyou Same is for what market
PORT_DIPSETTING( 0x0000, "English" ) // (Maybe a Yang Cheng release therefore Hong Kong, China or Taiwan?)
PORT_CONFNAME( 0x0080, 0x0000, "Title Display" )
PORT_CONFSETTING( 0x0000, "Mad Shark" )
PORT_CONFSETTING( 0x0080, u8"\u6700\u5f37\u9bab / Saikyou Same" )
PORT_START("DSW") //2 DSWs PORT_START("DSW") //2 DSWs
PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("SW2:1") PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("SW2:1")