SPU: Set block counter to zero on key on
Fixes clicking in Final Fantasy VIII intro FMV.
This commit is contained in:
parent
790a117371
commit
6a4a47fbdf
|
@ -1088,6 +1088,7 @@ bool SPU::StopDumpingAudio()
|
||||||
void SPU::Voice::KeyOn()
|
void SPU::Voice::KeyOn()
|
||||||
{
|
{
|
||||||
current_address = regs.adpcm_start_address & ~u16(1);
|
current_address = regs.adpcm_start_address & ~u16(1);
|
||||||
|
counter.bits = 0;
|
||||||
regs.adsr_volume = 0;
|
regs.adsr_volume = 0;
|
||||||
adpcm_last_samples.fill(0);
|
adpcm_last_samples.fill(0);
|
||||||
has_samples = false;
|
has_samples = false;
|
||||||
|
|
Loading…
Reference in New Issue