From 7b7ce04f2953bd8e71037514467dd5525fd4fb2e Mon Sep 17 00:00:00 2001 From: BearOso Date: Mon, 1 May 2023 11:52:12 -0500 Subject: [PATCH] dsp: Fix typo by omission. --- apu/bapu/dsp/SPC_DSP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apu/bapu/dsp/SPC_DSP.cpp b/apu/bapu/dsp/SPC_DSP.cpp index 02dfa6ac..e3a70d76 100644 --- a/apu/bapu/dsp/SPC_DSP.cpp +++ b/apu/bapu/dsp/SPC_DSP.cpp @@ -675,7 +675,7 @@ inline void SPC_DSP::decode_brr( voice_t* v ) if (shift <= 12) s = (s << shift) >> 1; else - s &= 0x7ff; + s &= ~0x7ff; // Apply IIR filter (8 is the most commonly used) int const filter = header & 0x0C;