diff options
Diffstat (limited to 'src/mame/drivers/trucocl.cpp')
-rw-r--r-- | src/mame/drivers/trucocl.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/drivers/trucocl.cpp b/src/mame/drivers/trucocl.cpp index 3c5a92d8fc3..62eb1cd3377 100644 --- a/src/mame/drivers/trucocl.cpp +++ b/src/mame/drivers/trucocl.cpp @@ -39,6 +39,7 @@ Daughterboard: Custom made, plugged in the 2 roms and Z80 mainboard sockets. #include "cpu/z80/z80.h" #include "machine/watchdog.h" +#include "sound/volt_reg.h" #include "screen.h" #include "speaker.h" @@ -166,7 +167,8 @@ static MACHINE_CONFIG_START( trucocl ) MCFG_SPEAKER_STANDARD_MONO("speaker") MCFG_SOUND_ADD("dac", DAC_8BIT_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) MACHINE_CONFIG_END /*************************************************************************** |