policetr.cpp: Add speed-up for Sharpshooter v1.1 & v1.9 sets. [Brian Troha]

This commit is contained in:
braintro 2019-09-01 01:24:02 -05:00
parent d82b3dadab
commit 750a26925b
2 changed files with 19 additions and 3 deletions

View File

@ -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 )

View File

@ -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: