summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/leland.cpp
diff options
context:
space:
mode:
authorGravatarGravatar Ivan Vangelista <mesgnet@yahoo.it>2019-02-13 19:16:32 +0100
committerGravatarGravatar Ivan Vangelista <mesgnet@yahoo.it>2019-02-13 19:16:32 +0100
commit088c214cf75e442a0e8df566f0541571b07bcb2f (patch) (github)
tree6796c9d1a3cf691a5260359c75f86f623afc2554 /src/mame/drivers/leland.cpp
parent29fa02b16ed144af43ad23cce2cbd121ddbf6b25 (diff)
downloadmame-088c214cf75e442a0e8df566f0541571b07bcb2f.tar.bz2
mame-088c214cf75e442a0e8df566f0541571b07bcb2f.zip
misc MCFG and MACHINE_CONFIG macro removal (nw)
Diffstat (limited to 'src/mame/drivers/leland.cpp')
-rw-r--r--src/mame/drivers/leland.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/leland.cpp b/src/mame/drivers/leland.cpp
index 88f27326849..8cc8b2a1594 100644
--- a/src/mame/drivers/leland.cpp
+++ b/src/mame/drivers/leland.cpp
@@ -1013,8 +1013,8 @@ MACHINE_CONFIG_START(leland_state::leland)
// m_ay8912->port_a_write_callback().set(FUNC(leland_state::leland_sound_port_w));
// m_ay8912->add_route(ALL_OUTPUTS, "speaker", 0.25);
- MCFG_DEVICE_ADD(m_dac[0], DAC_8BIT_BINARY_WEIGHTED, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.0625) // ls374.u79 + r17-r23 (24k,12k,6.2k,3k,1.5k,750,390,180)
- MCFG_DEVICE_ADD(m_dac[1], DAC_8BIT_BINARY_WEIGHTED, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.0625) // ls374.u88 + r27-r34 (24k,12k,6.2k,3k,1.5k,750,390,180)
+ DAC_8BIT_BINARY_WEIGHTED(config, m_dac[0], 0).add_route(ALL_OUTPUTS, "speaker", 0.0625); // ls374.u79 + r17-r23 (24k,12k,6.2k,3k,1.5k,750,390,180)
+ DAC_8BIT_BINARY_WEIGHTED(config, m_dac[1], 0).add_route(ALL_OUTPUTS, "speaker", 0.0625); // ls374.u88 + r27-r34 (24k,12k,6.2k,3k,1.5k,750,390,180)
voltage_regulator_device &vref(VOLTAGE_REGULATOR(config, "vref"));
vref.set_output(5.0);
vref.add_route(0, "dac0", 1.0, DAC_VREF_POS_INPUT); vref.add_route(0, "dac0", -1.0, DAC_VREF_NEG_INPUT);