SPU: Clear ENDX flag on key on

This commit is contained in:
Connor McLaughlin 2020-04-28 20:30:16 +10:00
parent be9033b6c0
commit a5ff904b33
1 changed files with 3 additions and 0 deletions

View File

@ -697,7 +697,10 @@ void SPU::Execute(TickCount ticks)
key_off_register >>= 1;
if (key_on_register & 1u)
{
m_endx_register &= ~(1u << voice);
m_voices[voice].KeyOn();
}
key_on_register >>= 1;
}