From 226c3b5b26535d5f3db62c6b516a1ba734606a7c Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Sat, 8 Nov 2008 19:31:46 +0000 Subject: [PATCH] From: Fabio Priuli [mailto:doge.fabio@gmail.com] Sent: Wednesday, November 05, 2008 1:53 AM To: submit@mamedev.org Subject: fix for MT 2626 Hi, enclosed please find a patch to fix missing buttons for crime fighter 2p (Button 3 and Start) Regards, Fabio --- src/mame/drivers/crimfght.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/mame/drivers/crimfght.c b/src/mame/drivers/crimfght.c index 196a643212c..2625b43a2db 100644 --- a/src/mame/drivers/crimfght.c +++ b/src/mame/drivers/crimfght.c @@ -243,6 +243,14 @@ static INPUT_PORTS_START( crimfgtj ) PORT_DIPSETTING( 0x01, "3" ) PORT_DIPSETTING( 0x00, "4" ) + PORT_MODIFY("P1") + PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1) + PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) + + PORT_MODIFY("P2") + PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2) + PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START2 ) + PORT_MODIFY("P3") PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNKNOWN )