summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Steven Coomber <81829553+scoomby@users.noreply.github.com>2021-11-17 15:37:01 +0000
committer GitHub <noreply@github.com>2021-11-17 16:37:01 +0100
commitb991f0e822518ec5a9d04a60dcb3c48eed1200a2 (patch)
tree31ed25daf6b335a512db5d26d605b5ab8f992065
parent4292addd9d88c543d87c4144994d344bdddf0b9c (diff)
cop01.cpp: unknown dip switches enable an undocumented invulnerability cheat (MT#8132) (#8832)
* cop01.cpp: unknown dip switches enable an undocumented invulnerability cheat (MT#8132)
-rw-r--r--src/mame/drivers/cop01.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mame/drivers/cop01.cpp b/src/mame/drivers/cop01.cpp
index 61fdbc388f7..abeb582fc7d 100644
--- a/src/mame/drivers/cop01.cpp
+++ b/src/mame/drivers/cop01.cpp
@@ -233,7 +233,9 @@ static INPUT_PORTS_START( cop01 )
PORT_DIPSETTING( 0x08, DEF_STR( 2C_3C ) )
PORT_DIPSETTING( 0x0c, DEF_STR( 1C_3C ) )
PORT_DIPSETTING( 0x04, DEF_STR( 1C_6C ) )
- PORT_DIPUNUSED( 0x10, IP_ACTIVE_LOW )
+ PORT_DIPNAME( 0x10, 0x10, "Invulnerability (Cheat, 1/2)" ) // Undocumented invulnerability cheat (both DIP switches need to be ON)
+ PORT_DIPSETTING( 0x10, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x20, 0x20, DEF_STR( Demo_Sounds ) )
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
PORT_DIPSETTING( 0x20, DEF_STR( On ) )
@@ -273,7 +275,9 @@ static INPUT_PORTS_START( cop01 )
PORT_DIPSETTING( 0x20, "30k 80k 50k+" )
PORT_DIPSETTING( 0x40, "30k 130k 100k+" )
PORT_DIPSETTING( 0x00, "30k 180k 150k+" )
- PORT_DIPUNUSED( 0x80, IP_ACTIVE_LOW )
+ PORT_DIPNAME( 0x80, 0x80, "Invulnerability (Cheat, 2/2)" ) // Undocumented invulnerability cheat (both DIP switches need to be ON)
+ PORT_DIPSETTING( 0x80, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x00, DEF_STR( On ) )
INPUT_PORTS_END
/* There is an ingame bug at 0x00e4 to 0x00e6 that performs 3 times 'rrca' instead of 'rlca'