Skip to content

Commit 8d3d6ca

Browse files
authored
sigmasoft_sound.cpp: Fix active state for joystick (#13154)
1 parent 0f13255 commit 8d3d6ca

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/devices/bus/heathzenith/h89/sigmasoft_sound.cpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,18 @@ class h89bus_sigmasoft_snd_device : public device_t, public device_h89bus_right_
6767
//**************************************************************************
6868
static INPUT_PORTS_START( sigma_sound )
6969
PORT_START("joystick_p1")
70-
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP )
71-
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT )
72-
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN )
73-
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT )
74-
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
70+
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP )
71+
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT )
72+
PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN )
73+
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT )
74+
PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 )
7575

7676
PORT_START("joystick_p2")
77-
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(2)
78-
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(2)
79-
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(2)
80-
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(2)
81-
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2)
77+
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP ) PORT_PLAYER(2)
78+
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(2)
79+
PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN ) PORT_PLAYER(2)
80+
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_PLAYER(2)
81+
PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_PLAYER(2)
8282

8383
PORT_START("CONFIG")
8484
PORT_CONFNAME( 0x03, 0x01, "Port selection" )

0 commit comments

Comments
 (0)