diff options
Diffstat (limited to 'src/mame/audio/targ.cpp')
-rw-r--r-- | src/mame/audio/targ.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mame/audio/targ.cpp b/src/mame/audio/targ.cpp index f34739045fd..34a9ddbf5ed 100644 --- a/src/mame/audio/targ.cpp +++ b/src/mame/audio/targ.cpp @@ -15,6 +15,7 @@ #include "emu.h" #include "includes/exidy.h" +#include "sound/volt_reg.h" #include "speaker.h" @@ -185,7 +186,8 @@ MACHINE_CONFIG_START( spectar_audio ) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.25) MCFG_SOUND_ADD("dac", DAC_1BIT, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.99) - 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 @@ -200,5 +202,6 @@ MACHINE_CONFIG_START( targ_audio ) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.25) MCFG_SOUND_ADD("dac", DAC_1BIT, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.99) - 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 |