mirror of
https://github.com/holub/mame
synced 2025-04-23 17:00:53 +03:00
mapped left/right fire as 2nd joystick
This commit is contained in:
parent
58b59f671b
commit
1f21d86be1
@ -175,9 +175,17 @@ static INPUT_PORTS_START( tutankhm )
|
||||
|
||||
PORT_START("IN1")
|
||||
KONAMI8_MONO_4WAY_B123_UNK
|
||||
PORT_MODIFY("IN1")
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_LEFT ) PORT_2WAY
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_RIGHT ) PORT_2WAY
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("P1 Flash Bomb")
|
||||
|
||||
PORT_START("IN2")
|
||||
KONAMI8_COCKTAIL_4WAY_B123_UNK
|
||||
PORT_MODIFY("IN2")
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_LEFT ) PORT_2WAY PORT_COCKTAIL
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_RIGHT ) PORT_2WAY PORT_COCKTAIL
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_COCKTAIL PORT_NAME("P2 Flash Bomb")
|
||||
|
||||
PORT_START("DSW1")
|
||||
KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "No Coin B", SW1)
|
||||
@ -195,7 +203,6 @@ MACHINE_START_MEMBER(tutankhm_state,tutankhm)
|
||||
{
|
||||
membank("bank1")->configure_entries(0, 16, memregion("maincpu")->base() + 0x10000, 0x1000);
|
||||
|
||||
|
||||
save_item(NAME(m_irq_toggle));
|
||||
save_item(NAME(m_irq_enable));
|
||||
save_item(NAME(m_flip_x));
|
||||
|
Loading…
Reference in New Issue
Block a user