From b329b862727f94a52e72888771c4e7e9da8fb919 Mon Sep 17 00:00:00 2001 From: Yasuhiro Ogawa Date: Thu, 20 Aug 2009 00:43:38 +0000 Subject: taito_z DIPSW fixes [kanikani] --- src/mame/drivers/taito_z.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/mame/drivers/taito_z.c b/src/mame/drivers/taito_z.c index c3b49d3b2e1..c91557ab1b5 100644 --- a/src/mame/drivers/taito_z.c +++ b/src/mame/drivers/taito_z.c @@ -2231,7 +2231,7 @@ static INPUT_PORTS_START( enforce ) PORT_START("DSWA") /* DSW A */ PORT_DIPUNUSED_DIPLOC( 0x01, 0x01, "SW A:1" ) PORT_DIPUNUSED_DIPLOC( 0x02, 0x02, "SW A:2" ) - PORT_SERVICE_DIPLOC( 0x04, 0x04, "SW A:3" ) + PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW A:3" ) PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW A:4") PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) // Says SHIFT HI in test mode !? PORT_DIPSETTING( 0x08, DEF_STR( On ) ) // Says SHIFT LO in test mode !? @@ -2278,7 +2278,7 @@ static INPUT_PORTS_START( bshark ) PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) PORT_DIPUNUSED_DIPLOC( 0x02, 0x02, "SW A:2" ) // manual says it must be off - PORT_SERVICE( 0x04, IP_ACTIVE_LOW ) + PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW A:3" ) PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW A:4") PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPSETTING( 0x08, DEF_STR( On ) ) @@ -2345,7 +2345,7 @@ static INPUT_PORTS_START( sci ) PORT_DIPSETTING( 0x01, "Cockpit" ) PORT_DIPSETTING( 0x00, DEF_STR( Upright ) ) PORT_DIPUNUSED_DIPLOC( 0x02, 0x02, "SW A:2" ) /* Manual states "MUST REMAIN OFF" */ - PORT_SERVICE_DIPLOC( 0x04, 0x04, "SW A:3" ) + PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW A:3" ) PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW A:4") PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPSETTING( 0x08, DEF_STR( On ) ) @@ -2425,7 +2425,7 @@ static INPUT_PORTS_START( nightstr ) PORT_DIPSETTING( 0x01, "Cockpit" ) PORT_DIPSETTING( 0x00, DEF_STR( Upright ) ) PORT_DIPUNUSED_DIPLOC( 0x02, 0x02, "SW A:2" ) // manual says it must be off - PORT_SERVICE_DIPLOC( 0x04, 0x04, "SW A:3" ) + PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW A:3" ) PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW A:4") PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPSETTING( 0x08, DEF_STR( On ) ) @@ -2506,7 +2506,7 @@ static INPUT_PORTS_START( aquajack ) PORT_DIPSETTING( 0x80, "Cockpit" ) PORT_DIPSETTING( 0x00, DEF_STR( Upright ) ) PORT_DIPUNUSED_DIPLOC( 0x40, 0x40, "SW A:2" ) /* Dip 2 shown as "Must Remain in "Off" Position" in manual */ - PORT_SERVICE_DIPLOC( 0x20, 0x20, "SW A:3" ) + PORT_SERVICE_DIPLOC( 0x20, IP_ACTIVE_LOW, "SW A:3" ) PORT_DIPNAME( 0x10, 0x10, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW A:4") PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPSETTING( 0x10, DEF_STR( On ) ) @@ -2593,7 +2593,7 @@ static INPUT_PORTS_START( spacegun ) PORT_DIPNAME( 0x02, 0x02, "Always have gunsight power up" ) PORT_DIPLOCATION("SW A:2") PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - PORT_SERVICE_DIPLOC( 0x04, 0x04, "SW A:3" ) + PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW A:3" ) PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW A:4") PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPSETTING( 0x08, DEF_STR( On ) ) @@ -2654,7 +2654,7 @@ static INPUT_PORTS_START( dblaxle ) PORT_DIPNAME( 0x02, 0x02, "Gear shift" ) PORT_DIPLOCATION("SW A:2") PORT_DIPSETTING( 0x02, DEF_STR( Normal ) ) PORT_DIPSETTING( 0x00, "Inverted" ) - PORT_SERVICE_DIPLOC( 0x04, 0x04, "SW A:3" ) + PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW A:3" ) PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW A:4") PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPSETTING( 0x08, DEF_STR( On ) ) -- cgit v1.2.3