summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/bwing.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/bwing.cpp')
-rw-r--r--src/mame/drivers/bwing.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/drivers/bwing.cpp b/src/mame/drivers/bwing.cpp
index ec8fb395454..3ef91ecac5c 100644
--- a/src/mame/drivers/bwing.cpp
+++ b/src/mame/drivers/bwing.cpp
@@ -398,13 +398,11 @@ MACHINE_CONFIG_START(bwing_state::bwing)
// sound hardware
SPEAKER(config, "speaker").front_center();
- MCFG_GENERIC_LATCH_8_ADD("soundlatch")
+ GENERIC_LATCH_8(config, m_soundlatch);
- MCFG_DEVICE_ADD("ay1", AY8912, XTAL(24'000'000) / 2 / 8)
- MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.5)
+ AY8912(config, "ay1", XTAL(24'000'000) / 2 / 8).add_route(ALL_OUTPUTS, "speaker", 0.5);
- MCFG_DEVICE_ADD("ay2", AY8912, XTAL(24'000'000) / 2 / 8)
- MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.5)
+ AY8912(config, "ay2", XTAL(24'000'000) / 2 / 8).add_route(ALL_OUTPUTS, "speaker", 0.5);
MCFG_DEVICE_ADD("dac", DAC08, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.1)
MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0)