summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/chsuper.cpp
diff options
context:
space:
mode:
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
commit93eaa6a4943ade6513257a740fcde97ca9468559 (patch)
tree1340f2160a7064a839b7ca649b2257489cdd3d6d /src/mame/drivers/chsuper.cpp
parentfafafe7050e4d04230656215b840ac53aad081e7 (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/chsuper.cpp')
-rw-r--r--src/mame/drivers/chsuper.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/chsuper.cpp b/src/mame/drivers/chsuper.cpp
index 14597635115..63dae8dc6a6 100644
--- a/src/mame/drivers/chsuper.cpp
+++ b/src/mame/drivers/chsuper.cpp
@@ -214,7 +214,7 @@ WRITE8_MEMBER( chsuper_state::chsuper_outportb_w ) // Port EFh
void chsuper_state::chsuper_prg_map(address_map &map)
{
map(0x00000, 0x0efff).rom();
- map(0x00000, 0x01fff).w(this, FUNC(chsuper_state::chsuper_vram_w));
+ map(0x00000, 0x01fff).w(FUNC(chsuper_state::chsuper_vram_w));
map(0x0f000, 0x0ffff).ram().region("maincpu", 0xf000);
map(0xfb000, 0xfbfff).ram().share("nvram");
}
@@ -228,13 +228,13 @@ void chsuper_state::chsuper_portmap(address_map &map)
map(0x00e9, 0x00e9).portr("IN1");
map(0x00ea, 0x00ea).portr("DSW");
map(0x00ed, 0x00ed).nopw(); // mirror of EFh, but with bit0 active...
- map(0x00ee, 0x00ee).w(this, FUNC(chsuper_state::chsuper_outporta_w));
- map(0x00ef, 0x00ef).w(this, FUNC(chsuper_state::chsuper_outportb_w));
+ map(0x00ee, 0x00ee).w(FUNC(chsuper_state::chsuper_outporta_w));
+ map(0x00ef, 0x00ef).w(FUNC(chsuper_state::chsuper_outportb_w));
map(0x00fc, 0x00fc).w("ramdac", FUNC(ramdac_device::index_w));
map(0x00fd, 0x00fd).w("ramdac", FUNC(ramdac_device::pal_w));
map(0x00fe, 0x00fe).w("ramdac", FUNC(ramdac_device::mask_w));
map(0x8300, 0x8300).portr("IN2"); // valid input port present in test mode.
- map(0xff20, 0xff3f).w("dac", FUNC(dac_byte_interface::write)); // unk writes
+ map(0xff20, 0xff3f).w("dac", FUNC(dac_byte_interface::data_w)); // unk writes
}
/* About Sound...