From 1f21d86be16f55119e612ea36b445ee1bd35e485 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Banaan=20Ananas?= Date: Thu, 23 Jan 2014 18:53:12 +0000 Subject: [PATCH] mapped left/right fire as 2nd joystick --- src/mame/drivers/tutankhm.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/mame/drivers/tutankhm.c b/src/mame/drivers/tutankhm.c index 910a20dbc79..b7849650a6a 100644 --- a/src/mame/drivers/tutankhm.c +++ b/src/mame/drivers/tutankhm.c @@ -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));