diff options
author | Vas Crabb <vas@vastheman.com> | 2018-06-08 01:29:39 +1000 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2018-06-08 01:29:39 +1000 |
commit | 93eaa6a4943ade6513257a740fcde97ca9468559 (patch) | |
tree | 1340f2160a7064a839b7ca649b2257489cdd3d6d /src/mame/drivers/studio2.cpp | |
parent | fafafe7050e4d04230656215b840ac53aad081e7 (diff) |
as if millions of this pointers suddenly cried out in terror, and were suddenly silenced
* streamline templates in addrmap.h
* get rid of overloads on read/write member names - this will become even more important in the near future
Diffstat (limited to 'src/mame/drivers/studio2.cpp')
-rw-r--r-- | src/mame/drivers/studio2.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/studio2.cpp b/src/mame/drivers/studio2.cpp index 9ecff4ffe3f..26938614ac3 100644 --- a/src/mame/drivers/studio2.cpp +++ b/src/mame/drivers/studio2.cpp @@ -344,8 +344,8 @@ void studio2_state::studio2_map(address_map &map) void studio2_state::studio2_io_map(address_map &map) { map.unmap_value_high(); - map(0x01, 0x01).r(this, FUNC(studio2_state::dispon_r)); - map(0x02, 0x02).w(this, FUNC(studio2_state::keylatch_w)); + map(0x01, 0x01).r(FUNC(studio2_state::dispon_r)); + map(0x02, 0x02).w(FUNC(studio2_state::keylatch_w)); } void visicom_state::visicom_map(address_map &map) @@ -359,8 +359,8 @@ void visicom_state::visicom_map(address_map &map) void visicom_state::visicom_io_map(address_map &map) { - map(0x01, 0x01).w(this, FUNC(visicom_state::dispon_w)); - map(0x02, 0x02).w(this, FUNC(visicom_state::keylatch_w)); + map(0x01, 0x01).w(FUNC(visicom_state::dispon_w)); + map(0x02, 0x02).w(FUNC(visicom_state::keylatch_w)); } void mpt02_state::mpt02_map(address_map &map) @@ -374,7 +374,7 @@ void mpt02_state::mpt02_map(address_map &map) void mpt02_state::mpt02_io_map(address_map &map) { map(0x01, 0x01).rw(m_cti, FUNC(cdp1864_device::dispon_r), FUNC(cdp1864_device::step_bgcolor_w)); - map(0x02, 0x02).w(this, FUNC(mpt02_state::keylatch_w)); + map(0x02, 0x02).w(FUNC(mpt02_state::keylatch_w)); map(0x04, 0x04).rw(m_cti, FUNC(cdp1864_device::dispoff_r), FUNC(cdp1864_device::tone_latch_w)); } |