diff options
Diffstat (limited to 'src/mame/drivers/magicfly.cpp')
-rw-r--r-- | src/mame/drivers/magicfly.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/drivers/magicfly.cpp b/src/mame/drivers/magicfly.cpp index d16f8266467..fec2be3368a 100644 --- a/src/mame/drivers/magicfly.cpp +++ b/src/mame/drivers/magicfly.cpp @@ -444,6 +444,7 @@ #include "cpu/m6502/m6502.h" #include "machine/nvram.h" #include "sound/dac.h" +#include "sound/volt_reg.h" #include "video/mc6845.h" #include "screen.h" #include "speaker.h" @@ -960,7 +961,8 @@ static MACHINE_CONFIG_START( magicfly ) /* sound hardware */ MCFG_SPEAKER_STANDARD_MONO("speaker") MCFG_SOUND_ADD("dac", DAC_1BIT, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.25) - 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 |