diff options
author | Scott Stone <tafoid@users.noreply.github.com> | 2010-12-31 04:04:48 +0000 |
---|---|---|
committer | Scott Stone <tafoid@users.noreply.github.com> | 2010-12-31 04:04:48 +0000 |
commit | de94242bcc9479ef0230c776500ef2a9cd47769f (patch) | |
tree | 2029847316108e5c2dbf30f4cdeb5038f97b83f6 | |
parent | f6520bd994ed30326428b364709ef3bff7cbde20 (diff) |
superchs.c - Moved Button 6 assignment to a DIP selection which is more appropriate for "Freeze Screen" behavior and added some missing port names. [Tafoid]
-rw-r--r-- | src/mame/drivers/superchs.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mame/drivers/superchs.c b/src/mame/drivers/superchs.c index b302a85aa35..19abb2bbe2a 100644 --- a/src/mame/drivers/superchs.c +++ b/src/mame/drivers/superchs.c @@ -261,7 +261,7 @@ static INPUT_PORTS_START( superchs ) PORT_BIT( 0x00000020, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x00000040, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x00000080, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_READ_LINE_DEVICE("eeprom", eeprom_read_bit) /* reserved for EEROM */ - PORT_BIT( 0x00000100, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_PLAYER(1) /* seat center (cockpit only) */ + PORT_BIT( 0x00000100, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_PLAYER(1) PORT_NAME("Seat Center") /* seat center (cockpit only) */ PORT_BIT( 0x00000200, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x00000400, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x00000800, IP_ACTIVE_LOW, IPT_UNKNOWN ) @@ -273,7 +273,9 @@ static INPUT_PORTS_START( superchs ) PORT_BIT( 0x00010000, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x00020000, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x00040000, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_BIT( 0x00080000, IP_ACTIVE_HIGH, IPT_BUTTON6 ) PORT_PLAYER(1) /* Freeze input */ + PORT_DIPNAME( 0x00080000, 0x00, "Freeze Screen" ) + PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x00080000, DEF_STR( On ) ) PORT_SERVICE_NO_TOGGLE( 0x00100000, IP_ACTIVE_LOW ) PORT_BIT( 0x00200000, IP_ACTIVE_LOW, IPT_SERVICE1 ) PORT_BIT( 0x00400000, IP_ACTIVE_LOW, IPT_COIN2 ) @@ -300,7 +302,7 @@ static INPUT_PORTS_START( superchs ) PORT_BIT( 0xff, 0x00, IPT_AD_STICK_Y ) PORT_SENSITIVITY(20) PORT_KEYDELTA(10) PORT_PLAYER(2) PORT_START("FAKE") /* inputs and DSW all fake */ - PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_PLAYER(1) + PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_PLAYER(1) PORT_NAME("Accelerator") PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_2WAY PORT_PLAYER(1) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_2WAY PORT_PLAYER(1) PORT_DIPNAME( 0x10, 0x00, "Steering type" ) |