summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/audio/taito_en.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/audio/taito_en.cpp')
-rw-r--r--src/mame/audio/taito_en.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/audio/taito_en.cpp b/src/mame/audio/taito_en.cpp
index a9c77698cc4..a12c3bef195 100644
--- a/src/mame/audio/taito_en.cpp
+++ b/src/mame/audio/taito_en.cpp
@@ -210,8 +210,8 @@ MACHINE_CONFIG_START(taito_en_device::device_add_mconfig)
MCFG_MC68681_IRQ_CALLBACK(WRITELINE(*this, taito_en_device, duart_irq_handler))
MCFG_MC68681_OUTPORT_CALLBACK(WRITE8(*this, taito_en_device, duart_output))
- MCFG_DEVICE_ADD("mb87078", MB87078, 0)
- MCFG_MB87078_GAIN_CHANGED_CB(WRITE8(*this, taito_en_device, mb87078_gain_changed))
+ MB87078(config, m_mb87078);
+ m_mb87078->gain_changed().set(FUNC(taito_en_device::mb87078_gain_changed));
MCFG_DEVICE_ADD("dpram", MB8421, 0) // host accesses this from the other side