SPU: Fix incorrect envelope rate
This commit is contained in:
parent
2e2451998c
commit
2f5aa45e1f
|
@ -1664,7 +1664,7 @@ static constexpr ADSRTableEntries ComputeADSRTableEntries()
|
||||||
{
|
{
|
||||||
for (u32 rate = 0; rate < NUM_ADSR_TABLE_ENTRIES; rate++)
|
for (u32 rate = 0; rate < NUM_ADSR_TABLE_ENTRIES; rate++)
|
||||||
{
|
{
|
||||||
if (rate < 48)
|
if (rate < 44)
|
||||||
{
|
{
|
||||||
entries[decreasing][rate].ticks = 1;
|
entries[decreasing][rate].ticks = 1;
|
||||||
if (decreasing != 0)
|
if (decreasing != 0)
|
||||||
|
|
Loading…
Reference in New Issue