summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author angelosa <lordkale4@gmail.com>2020-08-29 04:19:05 +0200
committer angelosa <lordkale4@gmail.com>2020-08-29 04:19:05 +0200
commit7f9773b67ee0e246fbf0b28b4574293de1b037cb (patch)
tree6d64e0a6da1e4c54b4634046d13195f60eb80cbd
parentc3aab41ad900218ba31f47356ed4eeaee4547d4d (diff)
snesb.cpp: wldgunsb add lives dips (nw)
-rw-r--r--src/mame/drivers/snesb.cpp15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/mame/drivers/snesb.cpp b/src/mame/drivers/snesb.cpp
index 0ef4447e698..3984c3a1179 100644
--- a/src/mame/drivers/snesb.cpp
+++ b/src/mame/drivers/snesb.cpp
@@ -33,7 +33,7 @@ TODO:
- legendsb : unknown dipswitches
- rushbets : dipswitches (stored at memory locations $785006 and $785008)
- venom : gfx glitches on second level
- - wldgunsb : protection simulation
+ - wldgunsb : sometimes continue counter doesn't start from '9', verify if protection is involved.
***************************************************************************
@@ -838,6 +838,17 @@ static INPUT_PORTS_START( venom )
PORT_BIT( 0x000f, IP_ACTIVE_HIGH, IPT_UNUSED )
INPUT_PORTS_END
+static INPUT_PORTS_START( wldgunsb )
+ PORT_INCLUDE( venom )
+
+ PORT_MODIFY("DSW1")
+ PORT_DIPNAME( 0xc0, 0x40, DEF_STR( Lives ) )
+ PORT_DIPSETTING( 0xc0, "1" )
+ PORT_DIPSETTING( 0x80, "2" )
+ PORT_DIPSETTING( 0x40, "3" )
+ PORT_DIPSETTING( 0x00, "4" )
+INPUT_PORTS_END
+
void snesb_state::kinstb(machine_config &config)
{
/* basic machine hardware */
@@ -1659,4 +1670,4 @@ GAME( 1996, endless, 0, kinstb, endless, snesb_state, init_e
GAME( 1996, legendsb, 0, kinstb, kinstb, snesb_state, init_legendsb, ROT0, "bootleg", "Legend (SNES bootleg)", MACHINE_IMPERFECT_SOUND | MACHINE_IMPERFECT_GRAPHICS )
GAME( 1997, rushbets, 0, kinstb, rushbets, snesb_state, init_rushbets, ROT0, "bootleg", "Rushing Beat Shura (SNES bootleg)", MACHINE_IMPERFECT_SOUND | MACHINE_IMPERFECT_GRAPHICS )
GAME( 1997, venom, 0, kinstb, venom, snesb_state, init_venom, ROT0, "bootleg", "Venom & Spider-Man - Separation Anxiety (SNES bootleg)", MACHINE_IMPERFECT_SOUND | MACHINE_IMPERFECT_GRAPHICS )
-GAME( 1996, wldgunsb, 0, kinstb, venom, snesb_state, init_wldgunsb, ROT0, "bootleg", "Wild Guns (SNES bootleg)", MACHINE_NOT_WORKING | MACHINE_IMPERFECT_SOUND | MACHINE_IMPERFECT_GRAPHICS )
+GAME( 1996, wldgunsb, 0, kinstb, wldgunsb, snesb_state, init_wldgunsb, ROT0, "bootleg", "Wild Guns (SNES bootleg)", MACHINE_NOT_WORKING | MACHINE_IMPERFECT_SOUND | MACHINE_IMPERFECT_GRAPHICS ) // based off Japanese version