summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/5clown.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/5clown.cpp')
-rw-r--r--src/mame/drivers/5clown.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/5clown.cpp b/src/mame/drivers/5clown.cpp
index e07c6a41c21..61c99ab4ef6 100644
--- a/src/mame/drivers/5clown.cpp
+++ b/src/mame/drivers/5clown.cpp
@@ -763,12 +763,12 @@ void _5clown_state::fclown_map(address_map &map)
map(0x0801, 0x0801).rw("crtc", FUNC(mc6845_device::register_r), FUNC(mc6845_device::register_w));
map(0x0844, 0x0847).rw("pia0", FUNC(pia6821_device::read), FUNC(pia6821_device::write));
map(0x0848, 0x084b).rw("pia1", FUNC(pia6821_device::read), FUNC(pia6821_device::write));
- map(0x1000, 0x13ff).ram().w(this, FUNC(_5clown_state::fclown_videoram_w)).share("videoram"); /* Init'ed at $2042 */
- map(0x1800, 0x1bff).ram().w(this, FUNC(_5clown_state::fclown_colorram_w)).share("colorram"); /* Init'ed at $2054 */
+ map(0x1000, 0x13ff).ram().w(FUNC(_5clown_state::fclown_videoram_w)).share("videoram"); /* Init'ed at $2042 */
+ map(0x1800, 0x1bff).ram().w(FUNC(_5clown_state::fclown_colorram_w)).share("colorram"); /* Init'ed at $2054 */
map(0x2000, 0x7fff).rom(); /* ROM space */
- map(0xc048, 0xc048).w(this, FUNC(_5clown_state::cpu_c048_w));
- map(0xd800, 0xd800).w(this, FUNC(_5clown_state::cpu_d800_w));
+ map(0xc048, 0xc048).w(FUNC(_5clown_state::cpu_c048_w));
+ map(0xd800, 0xd800).w(FUNC(_5clown_state::cpu_d800_w));
map(0xc400, 0xc400).portr("SW1"); /* DIP Switches bank */
map(0xcc00, 0xcc00).portr("SW2"); /* DIP Switches bank */
@@ -835,11 +835,11 @@ void _5clown_state::fclown_map(address_map &map)
void _5clown_state::fcaudio_map(address_map &map)
{
map(0x0000, 0x07ff).ram();
- map(0x0800, 0x0800).w(this, FUNC(_5clown_state::snd_800_w));
- map(0x0a02, 0x0a02).w(this, FUNC(_5clown_state::snd_a02_w));
+ map(0x0800, 0x0800).w(FUNC(_5clown_state::snd_800_w));
+ map(0x0a02, 0x0a02).w(FUNC(_5clown_state::snd_a02_w));
map(0x0c04, 0x0c04).w("oki6295", FUNC(okim6295_device::write));
map(0x0c06, 0x0c06).r("oki6295", FUNC(okim6295_device::read));
- map(0x0e06, 0x0e06).r(this, FUNC(_5clown_state::snd_e06_r));
+ map(0x0e06, 0x0e06).r(FUNC(_5clown_state::snd_e06_r));
map(0xe000, 0xffff).rom(); /* ROM space */
}