summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mephistp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mephistp.cpp')
-rw-r--r--src/mame/drivers/mephistp.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/drivers/mephistp.cpp b/src/mame/drivers/mephistp.cpp
index c79cce4efcc..f6983074be4 100644
--- a/src/mame/drivers/mephistp.cpp
+++ b/src/mame/drivers/mephistp.cpp
@@ -18,6 +18,7 @@
#include "machine/nvram.h"
#include "sound/ay8910.h"
#include "sound/dac.h"
+#include "sound/volt_reg.h"
#include "sound/3812intf.h"
#include "speaker.h"
@@ -184,7 +185,8 @@ static MACHINE_CONFIG_START( mephisto )
MCFG_SOUND_ADD("dac", DAC08, 0)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.5)
- 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)
MACHINE_CONFIG_END
#ifdef UNUSED_DEFINITION