summaryrefslogtreecommitdiffstats
path: root/src/mame/audio/crbaloon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/audio/crbaloon.cpp')
-rw-r--r--src/mame/audio/crbaloon.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/audio/crbaloon.cpp b/src/mame/audio/crbaloon.cpp
index 3419edb3d3c..8ed2352e89c 100644
--- a/src/mame/audio/crbaloon.cpp
+++ b/src/mame/audio/crbaloon.cpp
@@ -142,7 +142,7 @@ MACHINE_CONFIG_START(crbaloon_state::crbaloon_audio)
MCFG_SPEAKER_STANDARD_MONO("mono")
- MCFG_SOUND_ADD("snsnd", SN76477, 0)
+ MCFG_DEVICE_ADD("snsnd", SN76477)
MCFG_SN76477_NOISE_PARAMS(RES_K(47), RES_K(330), CAP_P(470)) // noise + filter
MCFG_SN76477_DECAY_RES(RES_K(220)) // decay_res
MCFG_SN76477_ATTACK_PARAMS(CAP_U(1.0), RES_K(4.7)) // attack_decay_cap + attack_res
@@ -158,7 +158,7 @@ MACHINE_CONFIG_START(crbaloon_state::crbaloon_audio)
MCFG_SN76477_ENABLE(0) // enable
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 2.0)
- MCFG_SOUND_ADD("discrete", DISCRETE, 0)
+ MCFG_DEVICE_ADD("discrete", DISCRETE)
MCFG_DISCRETE_INTF(crbaloon)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END