summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/junofrst.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/junofrst.cpp')
-rw-r--r--src/mame/drivers/junofrst.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/drivers/junofrst.cpp b/src/mame/drivers/junofrst.cpp
index 17ca01f3abe..2b7d3878f1f 100644
--- a/src/mame/drivers/junofrst.cpp
+++ b/src/mame/drivers/junofrst.cpp
@@ -93,6 +93,7 @@ Blitter source graphics
#include "sound/ay8910.h"
#include "sound/dac.h"
#include "sound/flt_rc.h"
+#include "sound/volt_reg.h"
#include "screen.h"
#include "speaker.h"
@@ -437,7 +438,8 @@ static MACHINE_CONFIG_START( junofrst )
MCFG_SOUND_ROUTE(2, "filter.0.2", 0.30)
MCFG_SOUND_ADD("dac", DAC_8BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.25) // 100K (R56-63)/200K (R64-71) ladder network
- MCFG_SOUND_REFERENCE_INPUT(DAC_VREF_POS_INPUT, 1.0) MCFG_SOUND_REFERENCE_INPUT(DAC_VREF_NEG_INPUT, -1.0)
+ 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_ROUTE_EX(0, "dac", -1.0, DAC_VREF_NEG_INPUT)
MCFG_FILTER_RC_ADD("filter.0.0", 0)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 1.0)