mirror of
https://github.com/holub/mame
synced 2025-06-26 22:29:10 +03:00
From: Fabio Priuli [mailto:priuli@math.ntnu.no]
Subject: fix to bug 01791 Hi, enclosed please find a small patch to fix the issues in asterock (asteroid.c) mentioned in bug 01791 the regression happened in 123u2, when asterock was updated to use asteroid inputs. Unfortunately, 3 inputs went from ACTIVE_LOW to ACTIVE_HIGH, among them INPUT_TILT. This was causing the cabinet to be tilted with a twofold effect: * to produce the continuous sound and * to stop any coinage Modifying back those 3 inputs fixes both issues
This commit is contained in:
parent
c2625e8ef1
commit
1caf8deb7e
@ -373,6 +373,10 @@ static INPUT_PORTS_START( asterock )
|
|||||||
PORT_MODIFY("IN0")
|
PORT_MODIFY("IN0")
|
||||||
/* Bit 0 is VG_HALT, handled in the machine dependent part */
|
/* Bit 0 is VG_HALT, handled in the machine dependent part */
|
||||||
/* Bit 2 is the 3 KHz source */
|
/* Bit 2 is the 3 KHz source */
|
||||||
|
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_SPACE) PORT_CODE(JOYCODE_BUTTON3) /* hyperspace */
|
||||||
|
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_LCONTROL) PORT_CODE(JOYCODE_BUTTON1) /* fire */
|
||||||
|
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Diagnostic Step") PORT_CODE(KEYCODE_F1)
|
||||||
|
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_TILT )
|
||||||
PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
|
PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
|
||||||
|
|
||||||
PORT_MODIFY("DSW")
|
PORT_MODIFY("DSW")
|
||||||
|
Loading…
Reference in New Issue
Block a user