summaryrefslogtreecommitdiffstats
path: root/src/mame/audio/redbaron.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/audio/redbaron.cpp')
-rw-r--r--src/mame/audio/redbaron.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/audio/redbaron.cpp b/src/mame/audio/redbaron.cpp
index 4e1f9d2a85b..486dffb4cea 100644
--- a/src/mame/audio/redbaron.cpp
+++ b/src/mame/audio/redbaron.cpp
@@ -231,9 +231,9 @@ void redbaron_sound_device::sounds_w(uint8_t data)
#ifdef UNUSED_FUNCTION
-WRITE8_MEMBER( redbaron_sound_device::pokey_w )
+void redbaron_sound_device::pokey_w(offs_t offset, uint8_t data)
{
if( m_latch & 0x20 )
- pokey_w(device, offset, data);
+ m_pokey->write(offset, data);
}
#endif