summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/r2dtank.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/r2dtank.cpp')
-rw-r--r--src/mame/drivers/r2dtank.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/r2dtank.cpp b/src/mame/drivers/r2dtank.cpp
index a6bfd3d1ab1..5daa74e3d64 100644
--- a/src/mame/drivers/r2dtank.cpp
+++ b/src/mame/drivers/r2dtank.cpp
@@ -332,8 +332,8 @@ void r2dtank_state::r2dtank_main_map(address_map &map)
map(0x2000, 0x3fff).ram();
map(0x4000, 0x5fff).ram().share("colorram");
map(0x6000, 0x7fff).ram();
- map(0x8000, 0x8003).r("pia_main", FUNC(pia6821_device::read)).w(this, FUNC(r2dtank_state::pia_comp_w));
- map(0x8004, 0x8004).rw(this, FUNC(r2dtank_state::audio_answer_r), FUNC(r2dtank_state::audio_command_w));
+ map(0x8000, 0x8003).r("pia_main", FUNC(pia6821_device::read)).w(FUNC(r2dtank_state::pia_comp_w));
+ map(0x8004, 0x8004).rw(FUNC(r2dtank_state::audio_answer_r), FUNC(r2dtank_state::audio_command_w));
map(0xb000, 0xb000).w("crtc", FUNC(mc6845_device::address_w));
map(0xb001, 0xb001).w("crtc", FUNC(mc6845_device::register_w));
map(0xc000, 0xc007).ram().share("nvram");
@@ -345,7 +345,7 @@ void r2dtank_state::r2dtank_audio_map(address_map &map)
{
map(0x0000, 0x007f).ram(); /* internal RAM */
map(0xd000, 0xd003).rw("pia_audio", FUNC(pia6821_device::read), FUNC(pia6821_device::write));
- map(0xf000, 0xf000).rw(this, FUNC(r2dtank_state::audio_command_r), FUNC(r2dtank_state::audio_answer_w));
+ map(0xf000, 0xf000).rw(FUNC(r2dtank_state::audio_command_r), FUNC(r2dtank_state::audio_answer_w));
map(0xf800, 0xffff).rom();
}