From 9996e799022be779f7d2ca56bc59910e4ea9e820 Mon Sep 17 00:00:00 2001 From: Angelo Salese Date: Tue, 21 Dec 2010 21:00:48 +0000 Subject: [PATCH] Corrected Rapid Fire DIP-SW as per Haze (no whatsnew) --- src/mame/drivers/m107.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/mame/drivers/m107.c b/src/mame/drivers/m107.c index 09737877026..fbba3c37610 100644 --- a/src/mame/drivers/m107.c +++ b/src/mame/drivers/m107.c @@ -235,7 +235,7 @@ ADDRESS_MAP_END static INPUT_PORTS_START( m107_2player ) PORT_START("P1_P2") - IREM_GENERIC_JOYSTICKS_2_BUTTONS(1, 2) + IREM_GENERIC_JOYSTICKS_3_BUTTONS(1, 2) PORT_START("COINS_DSW3") PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_START1 ) @@ -324,9 +324,11 @@ static INPUT_PORTS_START( firebarr ) PORT_INCLUDE(m107_2player) PORT_MODIFY("COINS_DSW3") - PORT_DIPNAME( 0x0800, 0x0800, "Rapid Fire" ) PORT_DIPLOCATION("SW3:4") // SW3:3 needs to be OFF? + PORT_DIPNAME( 0x0c00, 0x0800, "Rapid Fire" ) PORT_DIPLOCATION("SW3:3,4") + PORT_DIPSETTING( 0x0000, "Button 1 Normal, Button 3 Rapid Fire" ) + PORT_DIPSETTING( 0x0400, "Button 1 Rapid Fire, Button 3 No Function" ) PORT_DIPSETTING( 0x0800, DEF_STR( Off ) ) - PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) + PORT_DIPSETTING( 0x0c00, DEF_STR( Off ) ) PORT_DIPNAME( 0x1000, 0x0000, "Continuous Play" ) PORT_DIPLOCATION("SW3:5") PORT_DIPSETTING( 0x1000, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0000, DEF_STR( On ) )