diff options
Diffstat (limited to 'src/mame/drivers/s8a.cpp')
-rw-r--r-- | src/mame/drivers/s8a.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/drivers/s8a.cpp b/src/mame/drivers/s8a.cpp index c042e49777e..22bd0234379 100644 --- a/src/mame/drivers/s8a.cpp +++ b/src/mame/drivers/s8a.cpp @@ -26,6 +26,7 @@ ToDo: #include "cpu/m6800/m6800.h" #include "machine/6821pia.h" #include "sound/dac.h" +#include "sound/volt_reg.h" #include "speaker.h" #include "s8a.lh" @@ -327,7 +328,8 @@ static MACHINE_CONFIG_START( s8a ) 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) MCFG_DEVICE_ADD("pias", PIA6821, 0) MCFG_PIA_READPA_HANDLER(READ8(s8a_state, sound_r)) |