Skip to content

Commit 8a65342

Browse files
authored
hh_sm510: Add cheat for trshutvoy and tigarden (#13359)
1 parent 6318bf9 commit 8a65342

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/mame/handheld/hh_sm510.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -11405,6 +11405,11 @@ static INPUT_PORTS_START( trshutvoy )
1140511405
PORT_START("ACL")
1140611406
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_C) PORT_CHANGED_CB(acl_button) PORT_NAME("ACL")
1140711407

11408+
PORT_START("B")
11409+
PORT_CONFNAME( 0x01, 0x01, "Infinite Lives (Cheat)" ) // factory test, unpopulated on PCB
11410+
PORT_CONFSETTING( 0x01, DEF_STR( Off ) )
11411+
PORT_CONFSETTING( 0x00, DEF_STR( On ) )
11412+
1140811413
PORT_START("FAKE") // Up/Sound are electronically the same button
1140911414
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP ) PORT_CHANGED_CB(input_changed) PORT_16WAY
1141011415
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_VOLUME_DOWN ) PORT_CHANGED_CB(input_changed) PORT_NAME("Sound")

0 commit comments

Comments
 (0)