From 594a72e934585966d70fa7e65a70727bd3e07cf8 Mon Sep 17 00:00:00 2001 From: Robbbert Date: Sun, 6 Jul 2014 02:14:54 +0000 Subject: [PATCH] Cool Pool: added 2nd button and button labels [Gamez Fan] --- src/mame/drivers/coolpool.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/mame/drivers/coolpool.c b/src/mame/drivers/coolpool.c index 59a09ad6985..e4b54681244 100644 --- a/src/mame/drivers/coolpool.c +++ b/src/mame/drivers/coolpool.c @@ -23,6 +23,7 @@ actually reads 2U/6U/1U/5U. The placement cannot therefore be exactly determined by the check passing. + ***************************************************************************/ #include "emu.h" @@ -732,10 +733,12 @@ INPUT_PORTS_END static INPUT_PORTS_START( coolpool ) PORT_START("IN0") PORT_BIT( 0x00ff, IP_ACTIVE_HIGH, IPT_UNKNOWN ) - PORT_BIT( 0x0f00, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) - PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) - PORT_BIT( 0xc000, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x0700, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2) PORT_NAME("P2 English") + PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) PORT_NAME("P2 Lock") + PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) PORT_NAME("P1 Lock") + PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) PORT_NAME("P1 English") + PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_START("IN1") PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_START1 )