summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/audio/avalnche.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/audio/avalnche.cpp')
-rw-r--r--src/mame/audio/avalnche.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mame/audio/avalnche.cpp b/src/mame/audio/avalnche.cpp
index 9590658a7c4..2803c2da03a 100644
--- a/src/mame/audio/avalnche.cpp
+++ b/src/mame/audio/avalnche.cpp
@@ -55,7 +55,7 @@ static const discrete_lfsr_desc avalnche_lfsr={
#define AVALNCHE_AUD2_SND NODE_12
#define AVALNCHE_SOUNDLVL_AUD0_SND NODE_13
-static DISCRETE_SOUND_START(avalnche)
+static DISCRETE_SOUND_START(avalnche_discrete)
/************************************************/
/* avalnche Effects Relataive Gain Table */
/* */
@@ -106,8 +106,7 @@ DISCRETE_SOUND_END
MACHINE_CONFIG_START(avalnche_state::avalnche_sound)
MCFG_SPEAKER_STANDARD_MONO("mono")
- MCFG_DEVICE_ADD("discrete", DISCRETE)
- MCFG_DISCRETE_INTF(avalnche)
+ MCFG_DEVICE_ADD("discrete", DISCRETE, avalnche_discrete)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MCFG_DEVICE_MODIFY("latch")