summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/hankin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/hankin.cpp')
-rw-r--r--src/mame/drivers/hankin.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/drivers/hankin.cpp b/src/mame/drivers/hankin.cpp
index 833e0300067..26eb97e7049 100644
--- a/src/mame/drivers/hankin.cpp
+++ b/src/mame/drivers/hankin.cpp
@@ -22,6 +22,7 @@ ToDo:
#include "machine/6821pia.h"
#include "machine/timer.h"
#include "sound/dac.h"
+#include "sound/volt_reg.h"
#include "speaker.h"
#include "hankin.lh"
@@ -508,7 +509,8 @@ static MACHINE_CONFIG_START( hankin )
MCFG_SPEAKER_STANDARD_MONO("speaker")
MCFG_SOUND_ADD("dac", DAC_4BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.5) // unknown DAC
- 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)
/* Devices */
MCFG_DEVICE_ADD("ic10", PIA6821, 0)