Re-added 2nd button back to ddayc [David Haywood]

---------- Forwarded message ----------
From: David Haywood <neohaze@nildram.co.uk>
Date: Thu, Oct 29, 2009 at 11:14 PM
Subject: Ddayc
To: Philip Bennett <p.j.bennett@gmail.com>


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.
This commit is contained in:
Phil Bennett 2009-10-31 09:57:01 +00:00
parent 42047362c3
commit bde2bf7421

View File

@ -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 ) )