diff options
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 |
commit | e93b99f9364f34bc2b47e389d0afaa61a3f2f307 (patch) | |
tree | c3b3ca56af7b43f0a70aeab52ec5bde087670eeb /src/mame/drivers/orion.cpp | |
parent | 21cadd2246cbc2e0117233b200d1735b31cb4e77 (diff) |
(nw) remove more low-value macros and add a couple more constructor options
Diffstat (limited to 'src/mame/drivers/orion.cpp')
-rw-r--r-- | src/mame/drivers/orion.cpp | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/mame/drivers/orion.cpp b/src/mame/drivers/orion.cpp index 19297b94ce7..5c880df930e 100644 --- a/src/mame/drivers/orion.cpp +++ b/src/mame/drivers/orion.cpp @@ -126,8 +126,7 @@ MACHINE_CONFIG_START(orion_state::orion128) MCFG_VIDEO_START_OVERRIDE(orion_state,orion128) 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); MCFG_CASSETTE_ADD( "cassette" ) MCFG_CASSETTE_FORMATS(rko_cassette_formats) @@ -202,10 +201,8 @@ MACHINE_CONFIG_START(orion_state::orionz80) MCFG_MC146818_ADD( "rtc", XTAL(4'194'304) ) SPEAKER(config, "mono").front_center(); - MCFG_DEVICE_ADD("speaker", SPEAKER_SOUND) - MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0) - MCFG_SOUND_WAVE_ADD(WAVE_TAG, "cassette") - MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25) + SPEAKER_SOUND(config, "speaker").add_route(ALL_OUTPUTS, "mono", 1.0); + WAVE(config, "wave", "cassette").add_route(ALL_OUTPUTS, "mono", 0.25); MCFG_DEVICE_ADD("ay8912", AY8912, 1773400) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00) @@ -278,10 +275,8 @@ MACHINE_CONFIG_START(orion_state::orionpro) MCFG_VIDEO_START_OVERRIDE(orion_state,orion128) SPEAKER(config, "mono").front_center(); - MCFG_DEVICE_ADD("speaker", SPEAKER_SOUND) - MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0) - MCFG_SOUND_WAVE_ADD(WAVE_TAG, "cassette") - MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25) + SPEAKER_SOUND(config, "speaker").add_route(ALL_OUTPUTS, "mono", 1.0); + WAVE(config, "wave", "cassette").add_route(ALL_OUTPUTS, "mono", 0.25); MCFG_DEVICE_ADD("ay8912", AY8912, 1773400) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00) |