summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/odyssey2/voice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/odyssey2/voice.cpp')
-rw-r--r--src/devices/bus/odyssey2/voice.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/odyssey2/voice.cpp b/src/devices/bus/odyssey2/voice.cpp
index 95ea242e7c1..805f3626645 100644
--- a/src/devices/bus/odyssey2/voice.cpp
+++ b/src/devices/bus/odyssey2/voice.cpp
@@ -46,8 +46,8 @@ void o2_voice_device::device_start()
MACHINE_CONFIG_START(o2_voice_device::device_add_mconfig)
MCFG_SPEAKER_STANDARD_MONO("mono")
- MCFG_SOUND_ADD("sp0256_speech", SP0256, 3120000)
- MCFG_SP0256_DATA_REQUEST_CB(WRITELINE(o2_voice_device, lrq_callback))
+ MCFG_DEVICE_ADD("sp0256_speech", SP0256, 3120000)
+ MCFG_SP0256_DATA_REQUEST_CB(WRITELINE(*this, o2_voice_device, lrq_callback))
// The Voice uses a speaker with its own volume control so the relative volumes to use are subjective, these sound good
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)