alinvade.cpp: add bonus life DIP switch (MT08263) (#9450)

I have also defaulted lives to 3 which is what arcade operators would have typically used at the time
This commit is contained in:
Steven Coomber 2022-03-22 16:37:55 +00:00 committed by GitHub
parent cd77407ddf
commit db4f9b6c98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -152,14 +152,14 @@ static INPUT_PORTS_START( alinvade )
PORT_BIT(0xdf, IP_ACTIVE_HIGH, IPT_UNKNOWN )
PORT_START("DSW")
PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) )
PORT_DIPNAME( 0x03, 0x01, DEF_STR( Lives ) )
PORT_DIPSETTING( 0x00, "2" )
PORT_DIPSETTING( 0x01, "3" )
PORT_DIPSETTING( 0x02, "4" )
PORT_DIPSETTING( 0x03, "5" )
PORT_DIPNAME( 0x04, 0x00, DEF_STR ( Unknown ) ) // read, but not tested afterwards?
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
PORT_DIPSETTING( 0x04, DEF_STR( On ) )
PORT_DIPNAME( 0x04, 0x04, DEF_STR ( Bonus_Life ) )
PORT_DIPSETTING( 0x04, "10k" )
PORT_DIPSETTING( 0x00, "13k" )
PORT_BIT( 0xf8, IP_ACTIVE_HIGH, IPT_UNUSED )
INPUT_PORTS_END