summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/audio/wpcsnd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/audio/wpcsnd.cpp')
-rw-r--r--src/mame/audio/wpcsnd.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/audio/wpcsnd.cpp b/src/mame/audio/wpcsnd.cpp
index 8f918353b49..87d75acd4d5 100644
--- a/src/mame/audio/wpcsnd.cpp
+++ b/src/mame/audio/wpcsnd.cpp
@@ -34,14 +34,14 @@ wpcsnd_device::wpcsnd_device(const machine_config &mconfig, const char *tag, dev
void wpcsnd_device::wpcsnd_map(address_map &map)
{
map(0x0000, 0x1fff).ram();
- map(0x2000, 0x2000).mirror(0x03ff).w(this, FUNC(wpcsnd_device::rombank_w));
+ map(0x2000, 0x2000).mirror(0x03ff).w(FUNC(wpcsnd_device::rombank_w));
map(0x2400, 0x2401).mirror(0x03fe).rw("ym2151", FUNC(ym2151_device::read), FUNC(ym2151_device::write));
- map(0x2800, 0x2800).mirror(0x03ff).w("dac", FUNC(dac_byte_interface::write));
- map(0x2c00, 0x2fff).w(this, FUNC(wpcsnd_device::bg_speech_digit_w));
- map(0x3000, 0x33ff).r(this, FUNC(wpcsnd_device::latch_r));
- map(0x3400, 0x37ff).w(this, FUNC(wpcsnd_device::bg_speech_clock_w));
- map(0x3800, 0x3bff).w(this, FUNC(wpcsnd_device::volume_w));
- map(0x3c00, 0x3fff).w(this, FUNC(wpcsnd_device::latch_w));
+ map(0x2800, 0x2800).mirror(0x03ff).w("dac", FUNC(dac_byte_interface::data_w));
+ map(0x2c00, 0x2fff).w(FUNC(wpcsnd_device::bg_speech_digit_w));
+ map(0x3000, 0x33ff).r(FUNC(wpcsnd_device::latch_r));
+ map(0x3400, 0x37ff).w(FUNC(wpcsnd_device::bg_speech_clock_w));
+ map(0x3800, 0x3bff).w(FUNC(wpcsnd_device::volume_w));
+ map(0x3c00, 0x3fff).w(FUNC(wpcsnd_device::latch_w));
map(0x4000, 0xbfff).bankr("rombank");
map(0xc000, 0xffff).bankr("fixed");
}