summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/special.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/special.cpp')
-rw-r--r--src/mame/drivers/special.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mame/drivers/special.cpp b/src/mame/drivers/special.cpp
index ae21548ffee..298c4a6c7ad 100644
--- a/src/mame/drivers/special.cpp
+++ b/src/mame/drivers/special.cpp
@@ -12,7 +12,6 @@
#include "emu.h"
#include "includes/special.h"
-#include "sound/volt_reg.h"
#include "screen.h"
#include "softlist.h"
#include "speaker.h"
@@ -379,8 +378,7 @@ static MACHINE_CONFIG_START( special )
/* audio hardware */
MCFG_SPEAKER_STANDARD_MONO("speaker")
MCFG_SOUND_ADD("dac", DAC_1BIT, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.0625)
- MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0)
- MCFG_SOUND_ROUTE_EX(0, "dac", 1.0, DAC_VREF_POS_INPUT)
+ MCFG_SOUND_REFERENCE_INPUT(DAC_VREF_POS_INPUT, 1.0)
MCFG_SOUND_WAVE_ADD(WAVE_TAG, "cassette")
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.25)
@@ -498,8 +496,7 @@ static MACHINE_CONFIG_START( erik )
/* audio hardware */
MCFG_SPEAKER_STANDARD_MONO("speaker")
MCFG_SOUND_ADD("dac", DAC_1BIT, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.0625)
- MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0)
- MCFG_SOUND_ROUTE_EX(0, "dac", 1.0, DAC_VREF_POS_INPUT)
+ MCFG_SOUND_REFERENCE_INPUT(DAC_VREF_POS_INPUT, 1.0)
MCFG_SOUND_WAVE_ADD(WAVE_TAG, "cassette")
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.25)