diff options
Diffstat (limited to 'src/mame/drivers/cop01.cpp')
-rw-r--r-- | src/mame/drivers/cop01.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/drivers/cop01.cpp b/src/mame/drivers/cop01.cpp index 974c50dd341..fcf79bba80c 100644 --- a/src/mame/drivers/cop01.cpp +++ b/src/mame/drivers/cop01.cpp @@ -518,8 +518,7 @@ MACHINE_CONFIG_START(mightguy_state::mightguy) MCFG_DEVICE_ADD("ymsnd", YM3526, AUDIOCPU_CLOCK/2) /* unknown divider */ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0) - MCFG_DEVICE_ADD("dac", DAC_8BIT_R2R, 0) // unknown DAC - MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.5) + DAC_8BIT_R2R(config, "dac", 0).add_route(ALL_OUTPUTS, "mono", 0.5); // unknown DAC voltage_regulator_device &vref(VOLTAGE_REGULATOR(config, "vref")); vref.set_output(5.0); vref.add_route(0, "dac", 1.0, DAC_VREF_POS_INPUT); |