summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/special.cpp
diff options
context:
space:
mode:
author Robbbert <Robbbert@users.noreply.github.com>2019-07-06 02:45:26 +1000
committer Robbbert <Robbbert@users.noreply.github.com>2019-07-06 02:45:26 +1000
commit4e2959b5c0e40019bf944b2b503ef71c1a60e8f5 (patch)
tree8ae077f1e2554ded8eb4ea7805cbc80bdf39678d /src/mame/drivers/special.cpp
parent46261ff71b1c2fa64a9a97baac86439723f07dd7 (diff)
(nw) removal of wave.h part 2
Diffstat (limited to 'src/mame/drivers/special.cpp')
-rw-r--r--src/mame/drivers/special.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mame/drivers/special.cpp b/src/mame/drivers/special.cpp
index d96f398d97f..9940626739d 100644
--- a/src/mame/drivers/special.cpp
+++ b/src/mame/drivers/special.cpp
@@ -389,8 +389,6 @@ void special_state::special(machine_config &config)
voltage_regulator_device &vref(VOLTAGE_REGULATOR(config, "vref", 0));
vref.add_route(0, "dac", 1.0, DAC_VREF_POS_INPUT);
- WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "speaker", 0.05);
-
/* Devices */
I8255(config, m_ppi);
m_ppi->in_pa_callback().set(FUNC(special_state::specialist_8255_porta_r));
@@ -403,6 +401,7 @@ void special_state::special(machine_config &config)
CASSETTE(config, m_cassette);
m_cassette->set_formats(rks_cassette_formats);
m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_SPEAKER_ENABLED | CASSETTE_MOTOR_ENABLED);
+ m_cassette->add_route(ALL_OUTPUTS, "speaker", 0.05);
m_cassette->set_interface("special_cass");
SOFTWARE_LIST(config, "cass_list").set_original("special_cass");
@@ -502,12 +501,11 @@ void special_state::erik(machine_config &config)
voltage_regulator_device &vref(VOLTAGE_REGULATOR(config, "vref", 0));
vref.add_route(0, "dac", 1.0, DAC_VREF_POS_INPUT);
- WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "speaker", 0.05);
-
/* Devices */
CASSETTE(config, m_cassette);
m_cassette->set_formats(rks_cassette_formats);
m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_SPEAKER_ENABLED | CASSETTE_MOTOR_ENABLED);
+ m_cassette->add_route(ALL_OUTPUTS, "speaker", 0.05);
m_cassette->set_interface("special_cass");
I8255(config, m_ppi);