diff options
Diffstat (limited to 'src/devices/bus/pet/2joysnd.cpp')
-rw-r--r-- | src/devices/bus/pet/2joysnd.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/devices/bus/pet/2joysnd.cpp b/src/devices/bus/pet/2joysnd.cpp index 191762f2fc5..62df82f5079 100644 --- a/src/devices/bus/pet/2joysnd.cpp +++ b/src/devices/bus/pet/2joysnd.cpp @@ -49,6 +49,7 @@ Connections #include "emu.h" #include "2joysnd.h" +#include "sound/volt_reg.h" #include "speaker.h" @@ -95,7 +96,8 @@ ioport_constructor pet_userport_joystick_and_sound_device::device_input_ports() MACHINE_CONFIG_MEMBER( pet_userport_joystick_and_sound_device::device_add_mconfig ) MCFG_SPEAKER_STANDARD_MONO("speaker") 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 //************************************************************************** |