diff options
Diffstat (limited to 'src/mame/drivers/truco.cpp')
-rw-r--r-- | src/mame/drivers/truco.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/drivers/truco.cpp b/src/mame/drivers/truco.cpp index 0601ef4443a..cf2bb59b5b6 100644 --- a/src/mame/drivers/truco.cpp +++ b/src/mame/drivers/truco.cpp @@ -206,6 +206,7 @@ #include "cpu/m6809/m6809.h" #include "machine/6821pia.h" +#include "sound/volt_reg.h" #include "video/mc6845.h" #include "screen.h" #include "speaker.h" @@ -453,7 +454,8 @@ static MACHINE_CONFIG_START( truco ) /* sound hardware */ MCFG_SPEAKER_STANDARD_MONO("speaker") MCFG_SOUND_ADD("dac", DAC_1BIT, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.4) - MCFG_SOUND_REFERENCE_INPUT(DAC_VREF_POS_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) MACHINE_CONFIG_END |