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/fcombat.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/fcombat.cpp')
-rw-r--r-- | src/mame/drivers/fcombat.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mame/drivers/fcombat.cpp b/src/mame/drivers/fcombat.cpp index dc22509af7d..d56ae9b5510 100644 --- a/src/mame/drivers/fcombat.cpp +++ b/src/mame/drivers/fcombat.cpp @@ -119,18 +119,18 @@ void fcombat_state::main_map(address_map &map) map(0xc000, 0xc7ff).ram(); map(0xd000, 0xd7ff).ram().share("videoram"); map(0xd800, 0xd8ff).ram().share("spriteram"); - map(0xe000, 0xe000).r(this, FUNC(fcombat_state::fcombat_port01_r)); + map(0xe000, 0xe000).r(FUNC(fcombat_state::fcombat_port01_r)); map(0xe100, 0xe100).portr("DSW0"); map(0xe200, 0xe200).portr("DSW1"); - map(0xe300, 0xe300).r(this, FUNC(fcombat_state::e300_r)); - map(0xe400, 0xe400).r(this, FUNC(fcombat_state::fcombat_protection_r)); // protection? - map(0xe800, 0xe800).w(this, FUNC(fcombat_state::fcombat_videoreg_w)); // at least bit 0 for flip screen and joystick input multiplexor - map(0xe900, 0xe900).w(this, FUNC(fcombat_state::e900_w)); - map(0xea00, 0xea00).w(this, FUNC(fcombat_state::ea00_w)); - map(0xeb00, 0xeb00).w(this, FUNC(fcombat_state::eb00_w)); - map(0xec00, 0xec00).w(this, FUNC(fcombat_state::ec00_w)); - map(0xed00, 0xed00).w(this, FUNC(fcombat_state::ed00_w)); - map(0xee00, 0xee00).w(this, FUNC(fcombat_state::ee00_w)); // related to protection ? - doesn't seem to have any effect + map(0xe300, 0xe300).r(FUNC(fcombat_state::e300_r)); + map(0xe400, 0xe400).r(FUNC(fcombat_state::fcombat_protection_r)); // protection? + map(0xe800, 0xe800).w(FUNC(fcombat_state::fcombat_videoreg_w)); // at least bit 0 for flip screen and joystick input multiplexor + map(0xe900, 0xe900).w(FUNC(fcombat_state::e900_w)); + map(0xea00, 0xea00).w(FUNC(fcombat_state::ea00_w)); + map(0xeb00, 0xeb00).w(FUNC(fcombat_state::eb00_w)); + map(0xec00, 0xec00).w(FUNC(fcombat_state::ec00_w)); + map(0xed00, 0xed00).w(FUNC(fcombat_state::ed00_w)); + map(0xee00, 0xee00).w(FUNC(fcombat_state::ee00_w)); // related to protection ? - doesn't seem to have any effect map(0xef00, 0xef00).w("soundlatch", FUNC(generic_latch_8_device::write)); } |