summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2020-09-23 08:42:48 -0700
committer Aaron Giles <aaron@aarongiles.com>2020-09-23 08:42:48 -0700
commita7acb80ade159e49fee8fb01f97d7e1252fc87b7 (patch)
tree674879a988ef30b6fc27a9aeb152603a9bbc70d6 /src
parentf773d1b6564f12dd782f7009ec00281c955a9b06 (diff)
swp00: new sound doesn't like it if you don't fill your buffer
Diffstat (limited to 'src')
-rw-r--r--src/devices/sound/swp00.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/sound/swp00.cpp b/src/devices/sound/swp00.cpp
index c19b7021e84..f94006a1868 100644
--- a/src/devices/sound/swp00.cpp
+++ b/src/devices/sound/swp00.cpp
@@ -99,4 +99,6 @@ void swp00_device::snd_w(offs_t offset, u8 data)
void swp00_device::sound_stream_update(sound_stream &stream, std::vector<read_stream_view> const &inputs, std::vector<write_stream_view> &outputs)
{
+ outputs[0].fill(0);
+ outputs[1].fill(0);
}