mirror of https://github.com/snes9xgit/snes9x.git
Set the output buffer after loading state so the first set of samples
isn't excluded.
This commit is contained in:
parent
baa4de3713
commit
4fdc7af7da
|
@ -630,6 +630,8 @@ void S9xAPULoadState (uint8 *block)
|
|||
SNES::smp.load_state (&ptr);
|
||||
SNES::dsp.load_state (&ptr);
|
||||
|
||||
SNES::dsp.spc_dsp.set_output ((SNES::SPC_DSP::sample_t *) spc::landing_buffer, spc::buffer_size >> 1);
|
||||
|
||||
spc::reference_time = SNES::get_le32(ptr);
|
||||
ptr += sizeof(int32);
|
||||
spc::remainder = SNES::get_le32(ptr);
|
||||
|
|
Loading…
Reference in New Issue