From a32d997e1c341085da4ccfe5ae4c812f64681f10 Mon Sep 17 00:00:00 2001 From: Arisotura Date: Wed, 19 Aug 2020 04:18:17 +0200 Subject: [PATCH] SPU: don't process channels with len<4 --- src/SPU.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SPU.cpp b/src/SPU.cpp index cd5c5b81..5b74bdae 100644 --- a/src/SPU.cpp +++ b/src/SPU.cpp @@ -420,6 +420,8 @@ void Channel::Run(s32* buf, u32 samples) { if (!(Cnt & (1<<31))) return; + if ((type < 3) && ((Length+LoopPos) < 16)) return; + if (KeyOn) { Start();