From bf13d84221f56c880587d3fd8aaf09fddb1cd52c Mon Sep 17 00:00:00 2001 From: Angelo Salese Date: Tue, 15 Jan 2013 20:39:26 +0000 Subject: [PATCH] Fixed service and test inputs mis-matches --- src/mame/drivers/ggconnie.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/mame/drivers/ggconnie.c b/src/mame/drivers/ggconnie.c index 4995d7ddb41..594deb2ddbf 100644 --- a/src/mame/drivers/ggconnie.c +++ b/src/mame/drivers/ggconnie.c @@ -107,8 +107,8 @@ static INPUT_PORTS_START(ggconnie) PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN1 ) /* 100 Yen */ PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) /* 10 Yen */ PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 ) /* run */ - PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME( DEF_STR(Test) ) - PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE ) + PORT_SERVICE_NO_TOGGLE(0x10, IP_ACTIVE_LOW) PORT_DIPLOCATION("SWC:8") + PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 ) PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hopper") PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) @@ -125,15 +125,18 @@ static INPUT_PORTS_START(ggconnie) PORT_START("SWA") PORT_DIPNAME(0x03, 0x03, "Coin Set") PORT_DIPLOCATION("SWA:1,2") PORT_DIPSETTING(0x03, DEF_STR(1C_1C) ) + PORT_DIPSETTING(0x02, "2") + PORT_DIPSETTING(0x01, "1") + PORT_DIPSETTING(0x00, "0") PORT_DIPNAME(0x1c, 0x1c, "100 Yen -> Coin" ) PORT_DIPLOCATION("SWA:3,4,5") - PORT_DIPSETTING(0x00, "11 Coin") - PORT_DIPSETTING(0x04, "12 Coin") PORT_DIPSETTING(0x08, "0 Coin") PORT_DIPSETTING(0x0c, "5 Coin") PORT_DIPSETTING(0x10, "6 Coin") PORT_DIPSETTING(0x14, "7 Coin") PORT_DIPSETTING(0x18, "8 Coin") PORT_DIPSETTING(0x1c, "10 Coin") + PORT_DIPSETTING(0x00, "11 Coin") + PORT_DIPSETTING(0x04, "12 Coin") PORT_DIPUNUSED_DIPLOC( 0x20, 0x00, "SWA:6" ) PORT_DIPUNUSED_DIPLOC( 0x40, 0x00, "SWA:7" ) PORT_DIPUNUSED_DIPLOC( 0x80, 0x00, "SWA:8" ) @@ -178,7 +181,9 @@ static INPUT_PORTS_START(ggconnie) PORT_DIPNAME(0x40, 0x00, "RAM Clear" ) PORT_DIPLOCATION("SWC:7") PORT_DIPSETTING(0x40, DEF_STR(Off) ) PORT_DIPSETTING(0x00, DEF_STR(On) ) - PORT_SERVICE_NO_TOGGLE(0x80, IP_ACTIVE_LOW) PORT_DIPLOCATION("SWC:8") + PORT_DIPNAME(0x80, 0x80, DEF_STR(Service_Mode) ) PORT_DIPLOCATION("SWC:8") + PORT_DIPSETTING(0x80, DEF_STR(Off) ) + PORT_DIPSETTING(0x00, DEF_STR(On) ) INPUT_PORTS_END static const c6280_interface c6280_config =