mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-10 20:25:45 -04:00
SPU: Reset ADPCM decoder last samples on key on
This commit is contained in:
@ -1052,6 +1052,7 @@ void SPU::Voice::KeyOn()
|
||||
{
|
||||
current_address = regs.adpcm_start_address & ~u16(1);
|
||||
regs.adsr_volume = 0;
|
||||
adpcm_last_samples.fill(0);
|
||||
has_samples = false;
|
||||
ignore_loop_address = false;
|
||||
SetADSRPhase(ADSRPhase::Attack);
|
||||
|
Reference in New Issue
Block a user