diff options
Diffstat (limited to 'src/mame/drivers/mac128.cpp')
-rw-r--r-- | src/mame/drivers/mac128.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/drivers/mac128.cpp b/src/mame/drivers/mac128.cpp index 9e3a5e886e7..92de438fa46 100644 --- a/src/mame/drivers/mac128.cpp +++ b/src/mame/drivers/mac128.cpp @@ -92,6 +92,7 @@ c0 8 data bits, Rx disabled #include "machine/ram.h" #include "machine/timer.h" #include "sound/dac.h" +#include "sound/volt_reg.h" #include "formats/ap_dsk35.h" #include "bus/scsi/scsi.h" #include "bus/scsi/scsihd.h" @@ -1341,7 +1342,8 @@ static MACHINE_CONFIG_START( mac512ke ) /* sound hardware */ MCFG_SPEAKER_STANDARD_MONO("speaker") MCFG_SOUND_ADD(DAC_TAG, DAC_8BIT_PWM, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.25) // 2 x ls161 - 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_TAG, 1.0, DAC_VREF_POS_INPUT) MCFG_SOUND_ROUTE_EX(0, DAC_TAG, -1.0, DAC_VREF_NEG_INPUT) /* devices */ MCFG_RTC3430042_ADD("rtc", XTAL_32_768kHz) |