From bde2bf74214be07c176fe9d9dd2cf05ef22f6d22 Mon Sep 17 00:00:00 2001 From: Phil Bennett Date: Sat, 31 Oct 2009 09:57:01 +0000 Subject: [PATCH] Re-added 2nd button back to ddayc [David Haywood] ---------- Forwarded message ---------- From: David Haywood Date: Thu, Oct 29, 2009 at 11:14 PM Subject: Ddayc To: Philip Bennett this adds the 2nd button back to ddayc, you hold it when firing to do long shots. the parent doesn't have this feature, and the clone has been unplayable since mame 0.100 because the button was removed thus making it impossible to shoot enemies at the top of the screen before they kill you. --- src/mame/drivers/dday.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/mame/drivers/dday.c b/src/mame/drivers/dday.c index 53c1e3818c0..882620af01f 100644 --- a/src/mame/drivers/dday.c +++ b/src/mame/drivers/dday.c @@ -172,6 +172,10 @@ INPUT_PORTS_END static INPUT_PORTS_START( ddayc ) PORT_INCLUDE(dday) + PORT_MODIFY("BUTTONS") + PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_START2 ) + PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON2 ) /* Distance Button */ + PORT_MODIFY("DSW0") PORT_DIPNAME( 0x0c, 0x00, "Extended Play At" ) PORT_DIPSETTING( 0x00, "4000" ) @@ -182,7 +186,7 @@ static INPUT_PORTS_START( ddayc ) PORT_DIPSETTING( 0x30, DEF_STR( Easy ) ) // Easy - No Bombs, No Troop Carriers PORT_DIPSETTING( 0x20, DEF_STR( Normal ) ) // Normal - No Bombs, Troop Carriers PORT_DIPSETTING( 0x10, DEF_STR( Hard ) ) // Hard - Bombs, Troop Carriers -// PORT_DIPSETTING( 0x00, DEF_STR( Hard ) ) // Same as 0x10 + PORT_DIPSETTING( 0x00, "Hard (duplicate setting)" ) // Same as 0x10 PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) ) // Doesn't seem to be used PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPSETTING( 0x40, DEF_STR( On ) )