SPU: Fix incorrect envelope rate

This commit is contained in:
Stenzek 2024-08-16 21:39:33 +10:00
parent 2e2451998c
commit 2f5aa45e1f
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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)