summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Couriersud <couriersud@users.noreply.github.com>2008-01-06 22:18:24 +0000
committer Couriersud <couriersud@users.noreply.github.com>2008-01-06 22:18:24 +0000
commite129bfca92d3ae3d7568ae0265b9a5d1cc7adce0 (patch)
treec322a10dc58d0c739026a0dde2afc12633401b60
parent8a6178422965cb797b4aefa3e4a598c4ce201a78 (diff)
dkong.c:
* removed 2nd player inputs from sdbk input_ports * fixed some dump "copy/paste" bugs in dip locations
-rw-r--r--src/mame/drivers/dkong.c31
1 files changed, 20 insertions, 11 deletions
diff --git a/src/mame/drivers/dkong.c b/src/mame/drivers/dkong.c
index 00651912aa1..f42a468c427 100644
--- a/src/mame/drivers/dkong.c
+++ b/src/mame/drivers/dkong.c
@@ -1084,10 +1084,10 @@ static INPUT_PORTS_START( dkong3b )
PORT_DIPNAME( 0x08, 0x00, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW1:!4")
PORT_DIPSETTING( 0x00, DEF_STR( Upright ) )
PORT_DIPSETTING( 0x08, DEF_STR( Cocktail ) )
- PORT_DIPUNKNOWN_DIPLOC( 0x10, 0x00, "SW2:!5" )
- PORT_DIPUNKNOWN_DIPLOC( 0x20, 0x00, "SW2:!6" )
- PORT_DIPUNKNOWN_DIPLOC( 0x40, 0x00, "SW2:!7" )
- PORT_DIPUNKNOWN_DIPLOC( 0x80, 0x00, "SW2:!8" )
+ PORT_DIPUNKNOWN_DIPLOC( 0x10, 0x00, "SW1:!5" )
+ PORT_DIPUNKNOWN_DIPLOC( 0x20, 0x00, "SW1:!6" )
+ PORT_DIPUNKNOWN_DIPLOC( 0x40, 0x00, "SW1:!7" )
+ PORT_DIPUNKNOWN_DIPLOC( 0x80, 0x00, "SW1:!8" )
INPUT_PORTS_END
static INPUT_PORTS_START( dkongjr )
@@ -1181,7 +1181,16 @@ INPUT_PORTS_END
static INPUT_PORTS_START( sbdk )
PORT_INCLUDE( dkong_in0_8 )
+ PORT_MODIFY("IN0")
+ PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNUSED ) /* not used by clone */
+
PORT_INCLUDE( dkong_in1_8 )
+ PORT_MODIFY("IN1")
+ PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNUSED ) /* not used by clone */
+ PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNUSED ) /* not used by clone */
+ PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNUSED ) /* not used by clone */
+ PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED ) /* not used by clone */
+ PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNUSED ) /* not used by clone */
PORT_INCLUDE( dkong_in2 )
PORT_MODIFY("IN2")
@@ -1190,12 +1199,12 @@ static INPUT_PORTS_START( sbdk )
PORT_INCLUDE( dkong_dsw0 )
PORT_MODIFY("DSW0")
- PORT_DIPUNKNOWN_DIPLOC( 0x01, 0x00, "SW2:!1" )
+ PORT_DIPUNKNOWN_DIPLOC( 0x01, 0x00, "SW1:!1" )
PORT_DIPNAME( 0x02, 0x00, DEF_STR( Lives ) ) PORT_DIPLOCATION( "SW1:!2" )
PORT_DIPSETTING( 0x00, "3" )
PORT_DIPSETTING( 0x02, "5" )
- PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x00, "SW2:!3" )
- PORT_DIPUNKNOWN_DIPLOC( 0x08, 0x00, "SW2:!4" )
+ PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x00, "SW1:!3" )
+ PORT_DIPUNKNOWN_DIPLOC( 0x08, 0x00, "SW1:!4" )
PORT_START_TAG("SENSE") /* Sense */
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_VBLANK )
@@ -1212,10 +1221,10 @@ static INPUT_PORTS_START( herbiedk )
PORT_INCLUDE( dkong_dsw0 )
PORT_MODIFY("DSW0")
- PORT_DIPUNKNOWN_DIPLOC( 0x01, 0x00, "SW2:!1" )
- PORT_DIPUNKNOWN_DIPLOC( 0x02, 0x00, "SW2:!2" )
- PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x00, "SW2:!3" )
- PORT_DIPUNKNOWN_DIPLOC( 0x08, 0x00, "SW2:!4" )
+ PORT_DIPUNKNOWN_DIPLOC( 0x01, 0x00, "SW1:!1" )
+ PORT_DIPUNKNOWN_DIPLOC( 0x02, 0x00, "SW1:!2" )
+ PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x00, "SW1:!3" )
+ PORT_DIPUNKNOWN_DIPLOC( 0x08, 0x00, "SW1:!4" )
PORT_START_TAG("SENSE") /* Sense */
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_VBLANK )