summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/audio/cclimber.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/audio/cclimber.cpp')
-rw-r--r--src/mame/audio/cclimber.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/audio/cclimber.cpp b/src/mame/audio/cclimber.cpp
index e29bc52071e..b9dbae51604 100644
--- a/src/mame/audio/cclimber.cpp
+++ b/src/mame/audio/cclimber.cpp
@@ -58,11 +58,11 @@ void cclimber_audio_device::device_start()
//-------------------------------------------------
MACHINE_CONFIG_START(cclimber_audio_device::device_add_mconfig)
- MCFG_SOUND_ADD("aysnd", AY8910, SND_CLOCK/2)
- MCFG_AY8910_PORT_A_WRITE_CB(WRITE8(cclimber_audio_device, sample_select_w))
+ MCFG_DEVICE_ADD("aysnd", AY8910, SND_CLOCK/2)
+ MCFG_AY8910_PORT_A_WRITE_CB(WRITE8(*this, cclimber_audio_device, sample_select_w))
MCFG_SOUND_ROUTE(ALL_OUTPUTS, ":speaker", 0.5)
- MCFG_SOUND_ADD("samples", SAMPLES, 0)
+ MCFG_DEVICE_ADD("samples", SAMPLES)
MCFG_SAMPLES_CHANNELS(1)
MCFG_SAMPLES_START_CB(cclimber_audio_device, sh_start)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, ":speaker", 0.5)