summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound
diff options
context:
space:
mode:
author cam900 <dbtlrchl@naver.com>2019-09-03 03:47:05 +0900
committer GitHub <noreply@github.com>2019-09-03 03:47:05 +0900
commit92a852662eca7ffe5e764af59cf8e2f4a7434c7f (patch)
treefa815e5ddd10c6efa00e3593378e8920e12ce2f0 /src/devices/sound
parentc0f4fb7486866ca75c441346962f60334fa035f4 (diff)
ym2151.cpp : Fix reset behavior
Diffstat (limited to 'src/devices/sound')
-rw-r--r--src/devices/sound/ym2151.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/sound/ym2151.cpp b/src/devices/sound/ym2151.cpp
index 42c105c64a0..459d87776ab 100644
--- a/src/devices/sound/ym2151.cpp
+++ b/src/devices/sound/ym2151.cpp
@@ -1802,6 +1802,7 @@ void ym2151_device::sound_stream_update(sound_stream &stream, stream_sample_t **
if (m_reset_active)
{
std::fill(&outputs[0][0], &outputs[0][samples], 0);
+ std::fill(&outputs[1][0], &outputs[1][samples], 0);
return;
}