diff options
Diffstat (limited to 'src/mame/drivers/instantm.cpp')
-rw-r--r-- | src/mame/drivers/instantm.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/drivers/instantm.cpp b/src/mame/drivers/instantm.cpp index ff0d36a16ba..b08d85685ee 100644 --- a/src/mame/drivers/instantm.cpp +++ b/src/mame/drivers/instantm.cpp @@ -28,6 +28,7 @@ At the moment it simply outputs all the speech strings, one after the other, the #include "cpu/z80/z80.h" #include "machine/clock.h" #include "sound/dac.h" +#include "sound/volt_reg.h" #include "speaker.h" class instantm_state : public driver_device @@ -131,7 +132,8 @@ static MACHINE_CONFIG_START( instantm ) MCFG_SPEAKER_STANDARD_MONO("speaker") MCFG_SOUND_ADD("dac", MC1408, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 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 |