summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatarGravatar braintro <briantro@users.noreply.github.com>2019-09-01 01:24:02 -0500
committerGravatarGravatar braintro <briantro@users.noreply.github.com>2019-09-01 01:24:02 -0500
commit750a26925bf6f078077160c96caba5988aaa3955 (patch)
tree7f3fdc5c343a46cd791cca521c9fbf1c5871503e
parentd82b3dadabebb9cac548dad14064edc34e79567f (diff)
policetr.cpp: Add speed-up for Sharpshooter v1.1 & v1.9 sets. [Brian Troha]
-rw-r--r--src/mame/drivers/policetr.cpp4
-rw-r--r--src/mame/includes/policetr.h18
2 files changed, 19 insertions, 3 deletions
diff --git a/src/mame/drivers/policetr.cpp b/src/mame/drivers/policetr.cpp
index 9cd806129f3..77c7a9e9f71 100644
--- a/src/mame/drivers/policetr.cpp
+++ b/src/mame/drivers/policetr.cpp
@@ -719,6 +719,6 @@ GAME( 1996, policetr13a, policetr, sshooter, policetr, plctr13b_state, empty_ini
GAME( 1996, policetr13b, policetr, sshooter, policetr, plctr13b_state, empty_init, ROT0, "P&P Marketing", "Police Trainer (Rev 1.3B)", 0 )
GAME( 1998, sshooter, 0, sshooter, policetr, sshooter_state, empty_init, ROT0, "P&P Marketing", "Sharpshooter (Rev 1.9)", 0 )
-GAME( 1998, sshooter17, sshooter, sshooter, policetr, sshooter_state, empty_init, ROT0, "P&P Marketing", "Sharpshooter (Rev 1.7)", 0 )
+GAME( 1998, sshooter17, sshooter, sshooter, policetr, sshoot17_state, empty_init, ROT0, "P&P Marketing", "Sharpshooter (Rev 1.7)", 0 )
GAME( 1998, sshooter12, sshooter, sshooter, sshoot11, sshoot12_state, empty_init, ROT0, "P&P Marketing", "Sharpshooter (Rev 1.2)", 0 )
-GAME( 1998, sshooter11, sshooter, sshooter, sshoot11, sshoot12_state, empty_init, ROT0, "P&P Marketing", "Sharpshooter (Rev 1.1)", 0 )
+GAME( 1998, sshooter11, sshooter, sshooter, sshoot11, sshoot11_state, empty_init, ROT0, "P&P Marketing", "Sharpshooter (Rev 1.1)", 0 )
diff --git a/src/mame/includes/policetr.h b/src/mame/includes/policetr.h
index 972761af697..ceb573d1f9e 100644
--- a/src/mame/includes/policetr.h
+++ b/src/mame/includes/policetr.h
@@ -119,7 +119,7 @@ class sshooter_state : public policetr_state
{
public:
sshooter_state(const machine_config &mconfig, device_type type, const char *tag)
- : sshooter_state(mconfig, type, tag, 0x1fc03470, 0x00018fd8)
+ : sshooter_state(mconfig, type, tag, 0x1fc03440, 0x00018fd8)
{ }
void sshooter(machine_config &config);
@@ -132,6 +132,14 @@ protected:
void mem(address_map &map);
};
+class sshoot17_state : public sshooter_state
+{
+public:
+ sshoot17_state(const machine_config &mconfig, device_type type, const char *tag)
+ : sshooter_state(mconfig, type, tag, 0x1fc03470, 0x00018fd8)
+ { }
+};
+
class sshoot12_state : public sshooter_state
{
public:
@@ -140,6 +148,14 @@ public:
{ }
};
+class sshoot11_state : public sshooter_state
+{
+public:
+ sshoot11_state(const machine_config &mconfig, device_type type, const char *tag)
+ : sshooter_state(mconfig, type, tag, 0x1fc032f8, 0x00018fd8)
+ { }
+};
+
class plctr13b_state : public sshooter_state
{
public: