From 648477692001fa2809c6509e7e1b5da03e741efe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Sun, 24 Sep 2017 11:19:45 +0200 Subject: [PATCH] DSP: Fix a missing mask for the predscale register --- Source/Core/Core/DSP/DSPAccelerator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/DSP/DSPAccelerator.cpp b/Source/Core/Core/DSP/DSPAccelerator.cpp index 1692e192fe..f6822ef2a8 100644 --- a/Source/Core/Core/DSP/DSPAccelerator.cpp +++ b/Source/Core/Core/DSP/DSPAccelerator.cpp @@ -208,6 +208,6 @@ void Accelerator::SetYn2(s16 yn2) void Accelerator::SetPredScale(u16 pred_scale) { - m_pred_scale = pred_scale; + m_pred_scale = pred_scale & 0x7f; } } // namespace DSP