From 473386bfb6b537e307bfdc48d29ff1e1552c0ddf Mon Sep 17 00:00:00 2001 From: angelosa Date: Sun, 26 Jun 2016 13:00:02 +0200 Subject: [PATCH] Fixed wrong Upright / Cocktail assignment for Pro Sport (nw) --- src/mame/drivers/liberate.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/mame/drivers/liberate.cpp b/src/mame/drivers/liberate.cpp index b3e3a30aba1..41ed2c97766 100644 --- a/src/mame/drivers/liberate.cpp +++ b/src/mame/drivers/liberate.cpp @@ -487,13 +487,14 @@ static INPUT_PORTS_START( prosport ) PORT_MODIFY("DSW1") PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x04, "DSW1:3") PORT_DIPUNKNOWN_DIPLOC( 0x08, 0x08, "DSW1:4") - PORT_DIPNAME( 0x10, 0x10, "Service" ) PORT_DIPLOCATION("DSW1:5") - PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) - PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - PORT_DIPNAME( 0x20, 0x20, "Test Mode" ) PORT_DIPLOCATION("DSW1:6") + PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) PORT_DIPLOCATION("DSW1:5") + PORT_DIPNAME( 0x20, 0x20, "Test Mode" ) PORT_DIPLOCATION("DSW1:6") // TODO: needs next one to be on too? PORT_DIPSETTING( 0x00, "ROM Test" ) PORT_DIPSETTING( 0x20, "Maping Test" ) - PORT_DIPUNKNOWN_DIPLOC( 0x80, 0x80, "DSW1:8") + PORT_DIPUNKNOWN_DIPLOC( 0x40, 0x40, "DSW1:7") + PORT_DIPNAME( 0x80, 0x00, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("DSW1:8") + PORT_DIPSETTING( 0x00, DEF_STR( Upright ) ) + PORT_DIPSETTING( 0x80, DEF_STR( Cocktail ) ) PORT_MODIFY("DSW2") PORT_DIPUNKNOWN_DIPLOC( 0x01, 0x01, "DSW2:1")