From 086dad100c8c25c63e2f7ff6f3395ebcf61d89bd Mon Sep 17 00:00:00 2001 From: hap Date: Wed, 1 Jul 2020 16:11:27 +0200 Subject: dooyong: add button#3 to sadari --- src/mame/drivers/dooyong.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/mame/drivers/dooyong.cpp b/src/mame/drivers/dooyong.cpp index 8b37e9673c9..c1498e8e5ce 100644 --- a/src/mame/drivers/dooyong.cpp +++ b/src/mame/drivers/dooyong.cpp @@ -1260,6 +1260,12 @@ INPUT_PORTS_START( sadari ) PORT_DIPNAME( 0x40, 0x40, "Girl Show Point" ) PORT_DIPLOCATION("SWB:7") PORT_DIPSETTING( 0x40, "Other Country" ) PORT_DIPSETTING( 0x00, DEF_STR( Asia ) ) + + PORT_MODIFY("P1") + PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1) + + PORT_MODIFY("P2") + PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2) INPUT_PORTS_END INPUT_PORTS_START( primella ) @@ -1434,13 +1440,13 @@ u8 dooyong_z80_ym2203_state::unk_r() return 0; } + /*************************************************************************** Machine driver(s) ***************************************************************************/ - void dooyong_z80_ym2203_state::sound_2203(machine_config &config) { INPUT_MERGER_ANY_HIGH(config, "soundirq").output_handler().set_inputline(m_audiocpu, 0); -- cgit v1.2.3