SPU: delay channel start until whenever it can actually start. fixes maxmod interpolated mode.

This commit is contained in:
Arisotura
2020-07-23 12:59:19 +02:00
parent 3827fa562f
commit 2f9a6b7c03
3 changed files with 12 additions and 2 deletions

View File

@ -69,6 +69,7 @@ public:
u8 VolumeShift;
u8 Pan;
bool KeyOn;
u32 Timer;
s32 Pos;
s16 CurSample;
@ -105,7 +106,7 @@ public:
if ((val & (1<<31)) && !(oldcnt & (1<<31)))
{
Start();
KeyOn = true;
}
}