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/mgames.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/mgames.cpp')
-rw-r--r-- | src/mame/drivers/mgames.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mame/drivers/mgames.cpp b/src/mame/drivers/mgames.cpp index 35ccb98bb14..01261f6c4a2 100644 --- a/src/mame/drivers/mgames.cpp +++ b/src/mame/drivers/mgames.cpp @@ -538,17 +538,17 @@ void mgames_state::main_map(address_map &map) map(0x3800, 0x38ff).ram().share("nvram"); /* NVRAM = 2x SCM5101E */ map(0x4000, 0x47ff).ram().share("video"); /* 4x MM2114N-3 */ map(0x8000, 0x8000).portr("SW1"); - map(0x8001, 0x8001).r(this, FUNC(mgames_state::mixport_r)); /* DIP switch bank 2 + a sort of watchdog */ + map(0x8001, 0x8001).r(FUNC(mgames_state::mixport_r)); /* DIP switch bank 2 + a sort of watchdog */ map(0x8002, 0x8002).portr("IN1"); map(0x8003, 0x8003).portr("IN2"); - map(0x8000, 0x8000).w(this, FUNC(mgames_state::outport0_w)); - map(0x8001, 0x8001).w(this, FUNC(mgames_state::outport1_w)); - map(0x8002, 0x8002).w(this, FUNC(mgames_state::outport2_w)); - map(0x8003, 0x8003).w(this, FUNC(mgames_state::outport3_w)); - map(0x8004, 0x8004).w(this, FUNC(mgames_state::outport4_w)); - map(0x8005, 0x8005).w(this, FUNC(mgames_state::outport5_w)); - map(0x8006, 0x8006).w(this, FUNC(mgames_state::outport6_w)); - map(0x8007, 0x8007).w(this, FUNC(mgames_state::outport7_w)); + map(0x8000, 0x8000).w(FUNC(mgames_state::outport0_w)); + map(0x8001, 0x8001).w(FUNC(mgames_state::outport1_w)); + map(0x8002, 0x8002).w(FUNC(mgames_state::outport2_w)); + map(0x8003, 0x8003).w(FUNC(mgames_state::outport3_w)); + map(0x8004, 0x8004).w(FUNC(mgames_state::outport4_w)); + map(0x8005, 0x8005).w(FUNC(mgames_state::outport5_w)); + map(0x8006, 0x8006).w(FUNC(mgames_state::outport6_w)); + map(0x8007, 0x8007).w(FUNC(mgames_state::outport7_w)); } |