summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/rf5c68.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/rf5c68.cpp')
-rw-r--r--src/devices/sound/rf5c68.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/devices/sound/rf5c68.cpp b/src/devices/sound/rf5c68.cpp
index 9ec522b7d92..2567adfe004 100644
--- a/src/devices/sound/rf5c68.cpp
+++ b/src/devices/sound/rf5c68.cpp
@@ -63,6 +63,10 @@ void rf5c68_device::device_start()
m_cache = space().cache<0, 0, ENDIANNESS_LITTLE>();
m_sample_end_cb.bind_relative_to(*owner());
+ // needs to be initialized to 0xff, otherwise f1en has bad sound (MT04531)
+ for (int i = 0; i < 0x10000; i++)
+ m_data->write_byte(i, 0xff);
+
/* allocate the stream */
m_stream = stream_alloc(0, 2, clock() / 384);