diff options
author | hap <happppp@users.noreply.github.com> | 2019-06-14 19:51:20 +0200 |
---|---|---|
committer | hap <happppp@users.noreply.github.com> | 2019-06-14 19:51:20 +0200 |
commit | 02a916957ff551f411dfc2d6aa971ff8db3d8c0c (patch) | |
tree | 9e9f44413fc3bbd9726409ac70b3db96d51af6d1 /src/mame/drivers/cc40.cpp | |
parent | 651c467df4d03259a2c22217bb5671574eb5469b (diff) |
tms7000: apply tim's fix for timer divider (nw)
Diffstat (limited to 'src/mame/drivers/cc40.cpp')
-rw-r--r-- | src/mame/drivers/cc40.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mame/drivers/cc40.cpp b/src/mame/drivers/cc40.cpp index e333a96ba3a..a8c4f440bb4 100644 --- a/src/mame/drivers/cc40.cpp +++ b/src/mame/drivers/cc40.cpp @@ -615,9 +615,8 @@ MACHINE_CONFIG_START(cc40_state::cc40) /* sound hardware */ SPEAKER(config, "speaker").front_center(); - DAC_1BIT(config, "dac", 0).add_route(ALL_OUTPUTS, "speaker", 0.25); - voltage_regulator_device &vref(VOLTAGE_REGULATOR(config, "vref", 0)); - vref.add_route(0, "dac", 1.0, DAC_VREF_POS_INPUT); + DAC_1BIT(config, "dac").add_route(ALL_OUTPUTS, "speaker", 0.25); + VOLTAGE_REGULATOR(config, "vref").add_route(0, "dac", 1.0, DAC_VREF_POS_INPUT); /* cartridge */ MCFG_GENERIC_CARTSLOT_ADD("cartslot", generic_plain_slot, "cc40_cart") |