mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 05:45:38 +00:00
SPU: Reset ADPCM decoder last samples on key on
This commit is contained in:
parent
f2e6b8d72b
commit
03080351c8
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue