summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/binbug.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-05-10 00:30:00 +1000
committer Vas Crabb <vas@vastheman.com>2018-05-10 00:30:00 +1000
commite93b99f9364f34bc2b47e389d0afaa61a3f2f307 (patch)
treec3b3ca56af7b43f0a70aeab52ec5bde087670eeb /src/mame/drivers/binbug.cpp
parent21cadd2246cbc2e0117233b200d1735b31cb4e77 (diff)
(nw) remove more low-value macros and add a couple more constructor options
Diffstat (limited to 'src/mame/drivers/binbug.cpp')
-rw-r--r--src/mame/drivers/binbug.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mame/drivers/binbug.cpp b/src/mame/drivers/binbug.cpp
index 6bdeef87701..cdd24aca87b 100644
--- a/src/mame/drivers/binbug.cpp
+++ b/src/mame/drivers/binbug.cpp
@@ -325,8 +325,7 @@ MACHINE_CONFIG_START(binbug_state::binbug)
/* Cassette */
MCFG_CASSETTE_ADD( "cassette" )
SPEAKER(config, "mono").front_center();
- MCFG_SOUND_WAVE_ADD(WAVE_TAG, "cassette")
- MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
+ WAVE(config, "wave", "cassette").add_route(ALL_OUTPUTS, "mono", 0.25);
/* quickload */
MCFG_QUICKLOAD_ADD("quickload", binbug_state, binbug, "pgm", 1)
@@ -561,8 +560,7 @@ MACHINE_CONFIG_START(dg680_state::dg680)
/* Cassette */
MCFG_CASSETTE_ADD( "cassette" )
SPEAKER(config, "mono").front_center();
- MCFG_SOUND_WAVE_ADD(WAVE_TAG, "cassette")
- MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
+ WAVE(config, "wave", "cassette").add_route(ALL_OUTPUTS, "mono", 0.25);
/* Devices */
MCFG_DEVICE_ADD("z80ctc", Z80CTC, XTAL(8'000'000) / 4)