From 79705a2514c49acbf9b439f0303c3517fad3a97d Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Thu, 13 Apr 2023 23:39:07 +0100 Subject: [PATCH] SPU2: Increase maximum ADSR rate from 0x3FFF to 0x4000 --- pcsx2/SPU2/ADSR.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pcsx2/SPU2/ADSR.cpp b/pcsx2/SPU2/ADSR.cpp index 2437f4ca32..030aa7efcf 100644 --- a/pcsx2/SPU2/ADSR.cpp +++ b/pcsx2/SPU2/ADSR.cpp @@ -34,7 +34,8 @@ void InitADSR() // INIT ADSR else rate <<= shift; - PsxRates[i] = (int)std::min(rate, (s64)0x3fffffffLL); + // Maximum rate is 0x4000. + PsxRates[i] = (int)std::min(rate, (s64)0x40000000LL); } }