mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-14 11:05:43 -04:00
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…
x
Reference in New Issue
Block a user