summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/elf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/elf.cpp')
-rw-r--r--src/mame/drivers/elf.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mame/drivers/elf.cpp b/src/mame/drivers/elf.cpp
index 316db189ac5..0c60ba07db6 100644
--- a/src/mame/drivers/elf.cpp
+++ b/src/mame/drivers/elf.cpp
@@ -16,8 +16,10 @@
#include "emu.h"
#include "includes/elf.h"
-#include "elf2.lh"
#include "screen.h"
+#include "sound/wave.h"
+#include "speaker.h"
+#include "elf2.lh"
#define RUN \
BIT(m_special->read(), 0)
@@ -273,7 +275,9 @@ void elf2_state::elf2(machine_config &config)
DM9368(config, m_led_l, 0).update_cb().set(FUNC(elf2_state::digit_w<1>));
CASSETTE(config, m_cassette);
- m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_MUTED);
+ m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED);
+ SPEAKER(config, "mono").front_center();
+ WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "mono", 0.05);
QUICKLOAD(config, "quickload").set_handler(snapquick_load_delegate(&QUICKLOAD_LOAD_NAME(elf2_state, elf), this), "bin");