summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/c64/sfx_sound_expander.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/c64/sfx_sound_expander.cpp')
-rw-r--r--src/devices/bus/c64/sfx_sound_expander.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/c64/sfx_sound_expander.cpp b/src/devices/bus/c64/sfx_sound_expander.cpp
index 2df60f4ef17..fd5b36306d7 100644
--- a/src/devices/bus/c64/sfx_sound_expander.cpp
+++ b/src/devices/bus/c64/sfx_sound_expander.cpp
@@ -43,8 +43,8 @@ WRITE_LINE_MEMBER( c64_sfx_sound_expander_cartridge_device::opl_irq_w )
MACHINE_CONFIG_START(c64_sfx_sound_expander_cartridge_device::device_add_mconfig)
MCFG_SPEAKER_STANDARD_MONO("mono")
- MCFG_SOUND_ADD(YM3526_TAG, YM3526, XTAL(3'579'545))
- MCFG_YM3526_IRQ_HANDLER(WRITELINE(c64_sfx_sound_expander_cartridge_device, opl_irq_w))
+ MCFG_DEVICE_ADD(YM3526_TAG, YM3526, XTAL(3'579'545))
+ MCFG_YM3526_IRQ_HANDLER(WRITELINE(*this, c64_sfx_sound_expander_cartridge_device, opl_irq_w))
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.70)
MCFG_C64_PASSTHRU_EXPANSION_SLOT_ADD()