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/88games.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/88games.cpp')
-rw-r--r-- | src/mame/drivers/88games.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/88games.cpp b/src/mame/drivers/88games.cpp index b6b7997a12c..f9dfde1e34d 100644 --- a/src/mame/drivers/88games.cpp +++ b/src/mame/drivers/88games.cpp @@ -128,12 +128,12 @@ void _88games_state::main_map(address_map &map) map(0x1000, 0x1fff).w("palette", FUNC(palette_device::write8)).share("palette"); map(0x2000, 0x2fff).ram(); map(0x3000, 0x37ff).ram().share("nvram"); - map(0x3800, 0x3fff).rw(this, FUNC(_88games_state::bankedram_r), FUNC(_88games_state::bankedram_w)).share("ram"); - map(0x4000, 0x7fff).rw(this, FUNC(_88games_state::k052109_051960_r), FUNC(_88games_state::k052109_051960_w)); - map(0x5f84, 0x5f84).w(this, FUNC(_88games_state::k88games_5f84_w)); + map(0x3800, 0x3fff).rw(FUNC(_88games_state::bankedram_r), FUNC(_88games_state::bankedram_w)).share("ram"); + map(0x4000, 0x7fff).rw(FUNC(_88games_state::k052109_051960_r), FUNC(_88games_state::k052109_051960_w)); + map(0x5f84, 0x5f84).w(FUNC(_88games_state::k88games_5f84_w)); map(0x5f88, 0x5f88).w("watchdog", FUNC(watchdog_timer_device::reset_w)); map(0x5f8c, 0x5f8c).w("soundlatch", FUNC(generic_latch_8_device::write)); - map(0x5f90, 0x5f90).w(this, FUNC(_88games_state::k88games_sh_irqtrigger_w)); + map(0x5f90, 0x5f90).w(FUNC(_88games_state::k88games_sh_irqtrigger_w)); map(0x5f94, 0x5f94).portr("IN0"); map(0x5f95, 0x5f95).portr("IN1"); map(0x5f96, 0x5f96).portr("IN2"); @@ -147,10 +147,10 @@ void _88games_state::sound_map(address_map &map) { map(0x0000, 0x7fff).rom(); map(0x8000, 0x87ff).ram(); - map(0x9000, 0x9000).w(this, FUNC(_88games_state::speech_msg_w)); + map(0x9000, 0x9000).w(FUNC(_88games_state::speech_msg_w)); map(0xa000, 0xa000).r("soundlatch", FUNC(generic_latch_8_device::read)); map(0xc000, 0xc001).rw("ymsnd", FUNC(ym2151_device::read), FUNC(ym2151_device::write)); - map(0xe000, 0xe000).w(this, FUNC(_88games_state::speech_control_w)); + map(0xe000, 0xe000).w(FUNC(_88games_state::speech_control_w)); } |