summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/brkthru.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/brkthru.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/brkthru.cpp')
-rw-r--r--src/mame/drivers/brkthru.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/drivers/brkthru.cpp b/src/mame/drivers/brkthru.cpp
index 3bf37c22fe1..745650e872e 100644
--- a/src/mame/drivers/brkthru.cpp
+++ b/src/mame/drivers/brkthru.cpp
@@ -110,18 +110,18 @@ INPUT_CHANGED_MEMBER(brkthru_state::coin_inserted)
void brkthru_state::brkthru_map(address_map &map)
{
- map(0x0000, 0x03ff).ram().w(this, FUNC(brkthru_state::brkthru_fgram_w)).share("fg_videoram");
+ map(0x0000, 0x03ff).ram().w(FUNC(brkthru_state::brkthru_fgram_w)).share("fg_videoram");
map(0x0400, 0x0bff).ram();
- map(0x0c00, 0x0fff).ram().w(this, FUNC(brkthru_state::brkthru_bgram_w)).share("videoram");
+ map(0x0c00, 0x0fff).ram().w(FUNC(brkthru_state::brkthru_bgram_w)).share("videoram");
map(0x1000, 0x10ff).ram().share("spriteram");
map(0x1100, 0x17ff).ram();
map(0x1800, 0x1800).portr("P1");
map(0x1801, 0x1801).portr("P2");
map(0x1802, 0x1802).portr("DSW1");
map(0x1803, 0x1803).portr("DSW2/COIN");
- map(0x1800, 0x1801).w(this, FUNC(brkthru_state::brkthru_1800_w)); /* bg scroll and color, ROM bank selection, flip screen */
+ map(0x1800, 0x1801).w(FUNC(brkthru_state::brkthru_1800_w)); /* bg scroll and color, ROM bank selection, flip screen */
map(0x1802, 0x1802).w(m_soundlatch, FUNC(generic_latch_8_device::write));
- map(0x1803, 0x1803).w(this, FUNC(brkthru_state::brkthru_1803_w)); /* NMI enable, + ? */
+ map(0x1803, 0x1803).w(FUNC(brkthru_state::brkthru_1803_w)); /* NMI enable, + ? */
map(0x2000, 0x3fff).bankr("bank1");
map(0x4000, 0xffff).rom();
}
@@ -129,18 +129,18 @@ void brkthru_state::brkthru_map(address_map &map)
/* same as brktrhu, but xor 0x1000 below 8k */
void brkthru_state::darwin_map(address_map &map)
{
- map(0x1000, 0x13ff).ram().w(this, FUNC(brkthru_state::brkthru_fgram_w)).share("fg_videoram");
+ map(0x1000, 0x13ff).ram().w(FUNC(brkthru_state::brkthru_fgram_w)).share("fg_videoram");
map(0x1400, 0x1bff).ram();
- map(0x1c00, 0x1fff).ram().w(this, FUNC(brkthru_state::brkthru_bgram_w)).share("videoram");
+ map(0x1c00, 0x1fff).ram().w(FUNC(brkthru_state::brkthru_bgram_w)).share("videoram");
map(0x0000, 0x00ff).ram().share("spriteram");
map(0x0100, 0x01ff).nopw(); /*tidyup, nothing really here?*/
map(0x0800, 0x0800).portr("P1");
map(0x0801, 0x0801).portr("P2");
map(0x0802, 0x0802).portr("DSW1");
map(0x0803, 0x0803).portr("DSW2/COIN");
- map(0x0800, 0x0801).w(this, FUNC(brkthru_state::brkthru_1800_w)); /* bg scroll and color, ROM bank selection, flip screen */
+ map(0x0800, 0x0801).w(FUNC(brkthru_state::brkthru_1800_w)); /* bg scroll and color, ROM bank selection, flip screen */
map(0x0802, 0x0802).w(m_soundlatch, FUNC(generic_latch_8_device::write));
- map(0x0803, 0x0803).w(this, FUNC(brkthru_state::darwin_0803_w)); /* NMI enable, + ? */
+ map(0x0803, 0x0803).w(FUNC(brkthru_state::darwin_0803_w)); /* NMI enable, + ? */
map(0x2000, 0x3fff).bankr("bank1");
map(0x4000, 0xffff).rom();
}