From 2f5aa45e1fceaf88cfb4579067f619df583e267b Mon Sep 17 00:00:00 2001 From: Stenzek Date: Fri, 16 Aug 2024 21:39:33 +1000 Subject: [PATCH] SPU: Fix incorrect envelope rate --- src/core/spu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/spu.cpp b/src/core/spu.cpp index 08f030def..68dfda092 100644 --- a/src/core/spu.cpp +++ b/src/core/spu.cpp @@ -1664,7 +1664,7 @@ static constexpr ADSRTableEntries ComputeADSRTableEntries() { for (u32 rate = 0; rate < NUM_ADSR_TABLE_ENTRIES; rate++) { - if (rate < 48) + if (rate < 44) { entries[decreasing][rate].ticks = 1; if (decreasing != 0)