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/smsmcorp.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/smsmcorp.cpp')
-rw-r--r-- | src/mame/drivers/smsmcorp.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/smsmcorp.cpp b/src/mame/drivers/smsmcorp.cpp index a9cb2660a0b..e91381fec18 100644 --- a/src/mame/drivers/smsmcorp.cpp +++ b/src/mame/drivers/smsmcorp.cpp @@ -494,10 +494,10 @@ void smsmfg_state::sms_map(address_map &map) { map(0x00000, 0x007ff).ram().share("nvram"); map(0x00800, 0x00803).rw("ppi8255_0", FUNC(i8255_device::read), FUNC(i8255_device::write)); - map(0x01000, 0x01007).w(this, FUNC(smsmfg_state::video_w)); - map(0x01800, 0x01803).rw(this, FUNC(smsmfg_state::link_r), FUNC(smsmfg_state::link_w)); + map(0x01000, 0x01007).w(FUNC(smsmfg_state::video_w)); + map(0x01800, 0x01803).rw(FUNC(smsmfg_state::link_r), FUNC(smsmfg_state::link_w)); map(0x04000, 0x07fff).bankr("bank1"); - map(0x04000, 0x04000).w(this, FUNC(smsmfg_state::bankswitch_w)); + map(0x04000, 0x04000).w(FUNC(smsmfg_state::bankswitch_w)); map(0x08000, 0x0ffff).rom(); map(0xf8000, 0xfffff).rom(); // mirror for vectors } @@ -505,9 +505,9 @@ void smsmfg_state::sms_map(address_map &map) void smsmfg_state::sureshot_map(address_map &map) { map(0x00000, 0x007ff).ram().share("nvram"); - map(0x02000, 0x02007).w(this, FUNC(smsmfg_state::video_w)); + map(0x02000, 0x02007).w(FUNC(smsmfg_state::video_w)); map(0x03000, 0x03003).rw("ppi8255_0", FUNC(i8255_device::read), FUNC(i8255_device::write)); - map(0x03800, 0x03803).rw(this, FUNC(smsmfg_state::link_r), FUNC(smsmfg_state::link_w)); + map(0x03800, 0x03803).rw(FUNC(smsmfg_state::link_r), FUNC(smsmfg_state::link_w)); map(0x08000, 0x0ffff).rom(); map(0xf8000, 0xfffff).rom(); // mirror for vectors } @@ -518,8 +518,8 @@ void smsmfg_state::sub_map(address_map &map) map(0x2000, 0x27ff).ram(); map(0x3100, 0x3103).rw("ppi8255_1", FUNC(i8255_device::read), FUNC(i8255_device::write)); map(0x3381, 0x3382).w("aysnd", FUNC(ay8910_device::data_address_w)); - map(0x3400, 0x3400).r(this, FUNC(smsmfg_state::z80_8088_r)); - map(0x3500, 0x3501).rw(this, FUNC(smsmfg_state::p03_r), FUNC(smsmfg_state::p03_w)); + map(0x3400, 0x3400).r(FUNC(smsmfg_state::z80_8088_r)); + map(0x3500, 0x3501).rw(FUNC(smsmfg_state::p03_r), FUNC(smsmfg_state::p03_w)); } /************************************* |