summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/policetr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/policetr.cpp')
-rw-r--r--src/mame/drivers/policetr.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/mame/drivers/policetr.cpp b/src/mame/drivers/policetr.cpp
index f70eafbdf39..8ce78866957 100644
--- a/src/mame/drivers/policetr.cpp
+++ b/src/mame/drivers/policetr.cpp
@@ -244,15 +244,15 @@ WRITE32_MEMBER(policetr_state::speedup_w)
void policetr_state::policetr_map(address_map &map)
{
map(0x00000000, 0x0001ffff).ram().share("rambase");
- map(0x00200000, 0x0020000f).w(this, FUNC(policetr_state::policetr_video_w));
- map(0x00400000, 0x00400003).r(this, FUNC(policetr_state::policetr_video_r));
+ map(0x00200000, 0x0020000f).w(FUNC(policetr_state::policetr_video_w));
+ map(0x00400000, 0x00400003).r(FUNC(policetr_state::policetr_video_r));
map(0x00500000, 0x00500003).nopw(); // copies ROM here at startup, plus checksum
- map(0x00600000, 0x00600003).r(this, FUNC(policetr_state::bsmt2000_data_r));
- map(0x00700000, 0x00700003).w(this, FUNC(policetr_state::policetr_bsmt2000_reg_w));
- map(0x00800000, 0x00800003).w(this, FUNC(policetr_state::policetr_bsmt2000_data_w));
- map(0x00900000, 0x00900003).w(this, FUNC(policetr_state::policetr_palette_offset_w));
- map(0x00920000, 0x00920003).w(this, FUNC(policetr_state::policetr_palette_data_w));
- map(0x00a00000, 0x00a00003).w(this, FUNC(policetr_state::control_w));
+ map(0x00600000, 0x00600003).r(FUNC(policetr_state::bsmt2000_data_r));
+ map(0x00700000, 0x00700003).w(FUNC(policetr_state::policetr_bsmt2000_reg_w));
+ map(0x00800000, 0x00800003).w(FUNC(policetr_state::policetr_bsmt2000_data_w));
+ map(0x00900000, 0x00900003).w(FUNC(policetr_state::policetr_palette_offset_w));
+ map(0x00920000, 0x00920003).w(FUNC(policetr_state::policetr_palette_data_w));
+ map(0x00a00000, 0x00a00003).w(FUNC(policetr_state::control_w));
map(0x00a00000, 0x00a00003).portr("IN0");
map(0x00a20000, 0x00a20003).portr("IN1");
map(0x00a40000, 0x00a40003).portr("DSW");
@@ -264,15 +264,15 @@ void policetr_state::policetr_map(address_map &map)
void policetr_state::sshooter_map(address_map &map)
{
map(0x00000000, 0x0001ffff).ram().share("rambase");
- map(0x00200000, 0x00200003).w(this, FUNC(policetr_state::policetr_bsmt2000_data_w));
- map(0x00300000, 0x00300003).w(this, FUNC(policetr_state::policetr_palette_offset_w));
- map(0x00320000, 0x00320003).w(this, FUNC(policetr_state::policetr_palette_data_w));
- map(0x00400000, 0x00400003).r(this, FUNC(policetr_state::policetr_video_r));
+ map(0x00200000, 0x00200003).w(FUNC(policetr_state::policetr_bsmt2000_data_w));
+ map(0x00300000, 0x00300003).w(FUNC(policetr_state::policetr_palette_offset_w));
+ map(0x00320000, 0x00320003).w(FUNC(policetr_state::policetr_palette_data_w));
+ map(0x00400000, 0x00400003).r(FUNC(policetr_state::policetr_video_r));
map(0x00500000, 0x00500003).nopw(); // copies ROM here at startup, plus checksum
- map(0x00600000, 0x00600003).r(this, FUNC(policetr_state::bsmt2000_data_r));
- map(0x00700000, 0x00700003).w(this, FUNC(policetr_state::policetr_bsmt2000_reg_w));
- map(0x00800000, 0x0080000f).w(this, FUNC(policetr_state::policetr_video_w));
- map(0x00a00000, 0x00a00003).w(this, FUNC(policetr_state::control_w));
+ map(0x00600000, 0x00600003).r(FUNC(policetr_state::bsmt2000_data_r));
+ map(0x00700000, 0x00700003).w(FUNC(policetr_state::policetr_bsmt2000_reg_w));
+ map(0x00800000, 0x0080000f).w(FUNC(policetr_state::policetr_video_w));
+ map(0x00a00000, 0x00a00003).w(FUNC(policetr_state::control_w));
map(0x00a00000, 0x00a00003).portr("IN0");
map(0x00a20000, 0x00a20003).portr("IN1");
map(0x00a40000, 0x00a40003).portr("DSW");