diff options
author | Robbbert <Robbbert@users.noreply.github.com> | 2019-06-29 01:26:27 +1000 |
---|---|---|
committer | Robbbert <Robbbert@users.noreply.github.com> | 2019-06-29 01:26:27 +1000 |
commit | 7f1a02d861e22f203db3387171e7efa44c7ec9c9 (patch) | |
tree | 1e184042be8945bd4bd8a3311afe28bd38955a0d /src/mame/drivers/abc80x.cpp | |
parent | 9e84835983f145e2d8e51ce6a0002beb62c77b69 (diff) |
(nw) removed unneccesary casting of cassette_state;
Diffstat (limited to 'src/mame/drivers/abc80x.cpp')
-rw-r--r-- | src/mame/drivers/abc80x.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/drivers/abc80x.cpp b/src/mame/drivers/abc80x.cpp index 581c5ee516c..98b34c55ced 100644 --- a/src/mame/drivers/abc80x.cpp +++ b/src/mame/drivers/abc80x.cpp @@ -150,6 +150,7 @@ Notes: #include "emu.h" #include "includes/abc80x.h" +#include "sound/wave.h" #define LOG 0 @@ -1084,7 +1085,7 @@ MACHINE_CONFIG_START(abc800_state::common) m_dart->out_int_callback().set_inputline(m_maincpu, INPUT_LINE_IRQ0); CASSETTE(config, m_cassette); - m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_MUTED); + m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED); TIMER(config, TIMER_CASSETTE_TAG).configure_periodic(FUNC(abc800_state::cassette_input_tick), attotime::from_hz(44100)); rs232_port_device &rs232a(RS232_PORT(config, RS232_A_TAG, default_rs232_devices, nullptr)); @@ -1107,6 +1108,7 @@ MACHINE_CONFIG_START(abc800_state::common) // sound hardware SPEAKER(config, "mono").front_center(); DISCRETE(config, m_discrete, abc800_discrete).add_route(ALL_OUTPUTS, "mono", 0.80); + WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "mono", 0.05); // software list SOFTWARE_LIST(config, "flop_list").set_original("abc800"); |