From a679361e8b580fc9683bb3659b9eb1ab2a3d7390 Mon Sep 17 00:00:00 2001 From: Steven Coomber <81829553+scoomby@users.noreply.github.com> Date: Thu, 31 Mar 2022 17:15:38 +0100 Subject: [PATCH] astrocde.cpp: add lives DIP switch to spacezap (MT08274) (#9486) --- src/mame/drivers/astrocde.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mame/drivers/astrocde.cpp b/src/mame/drivers/astrocde.cpp index 01333d36ad6..788fc60f349 100644 --- a/src/mame/drivers/astrocde.cpp +++ b/src/mame/drivers/astrocde.cpp @@ -772,7 +772,9 @@ static INPUT_PORTS_START( spacezap ) PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_COCKTAIL PORT_NAME("P2 Aim Left") PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_COCKTAIL PORT_NAME("P2 Aim Right") PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL - PORT_DIPUNUSED_DIPLOC( 0x20, 0x20, "JU:1" ) + PORT_DIPNAME( 0x20, 0x20, DEF_STR( Lives ) ) PORT_DIPLOCATION("JU:1") + PORT_DIPSETTING( 0x20, "3" ) + PORT_DIPSETTING( 0x00, "4" ) PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_START("P3HANDLE")