diff options
author | 2020-03-03 23:46:05 +0100 | |
---|---|---|
committer | 2020-03-03 23:46:05 +0100 | |
commit | 2e4862810fc45fd62e2baa8dc5a488da18ab76eb (patch) | |
tree | 19dcc17d4ad3460654c402e8058b09ea46c3ceb2 | |
parent | 5c9a94495e348c91275a8fe4795ab8ab56b28984 (diff) |
Fix coin1 & 2 mapping in common mode (nw)
-rw-r--r-- | src/mame/drivers/segas18.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/mame/drivers/segas18.cpp b/src/mame/drivers/segas18.cpp index 81e65efcdfb..46ce91d7ec5 100644 --- a/src/mame/drivers/segas18.cpp +++ b/src/mame/drivers/segas18.cpp @@ -1140,14 +1140,17 @@ static INPUT_PORTS_START( mwalk ) PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(3) PORT_MODIFY("SERVICE") - PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN3 ) // individual mode + // individual coin chute setting changes around the default behaviour + PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_CONDITION("DSW", 0x20, EQUALS, 0x00) + PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_CONDITION("DSW", 0x20, EQUALS, 0x20) PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_SERVICE_NO_TOGGLE( 0x04, IP_ACTIVE_LOW ) PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE1 ) PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START1 ) PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 ) PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 ) - PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) // individual mode + PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_CONDITION("DSW", 0x20, EQUALS, 0x20) + PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_CONDITION("DSW", 0x20, EQUALS, 0x00) PORT_MODIFY("DSW") PORT_DIPNAME( 0x01, 0x01, "2 Credits to Start" ) PORT_DIPLOCATION("SW2:1") @@ -1178,6 +1181,12 @@ INPUT_PORTS_END static INPUT_PORTS_START( mwalka ) PORT_INCLUDE( mwalk ) + PORT_MODIFY("SERVICE") + PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_CONDITION("DSW", 0x20, EQUALS, 0x20) + PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_CONDITION("DSW", 0x20, EQUALS, 0x00) + PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_CONDITION("DSW", 0x20, EQUALS, 0x00) + PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_CONDITION("DSW", 0x20, EQUALS, 0x20) + PORT_MODIFY("DSW") // inverts the meaning of these two dips, to follow suit with the US 3P cabinet PORT_DIPNAME( 0x10, 0x10, "Play Mode" ) PORT_DIPLOCATION("SW2:5") |