mirror of https://github.com/snes9xgit/snes9x.git
Don't clear MSU if not enabled. Change sound sync level.
This commit is contained in:
parent
c376908f2e
commit
1a41ca21b3
|
@ -135,7 +135,6 @@ void S9xFinalizeSamples(void)
|
|||
SNES::dsp.spc_dsp.sample_count()))
|
||||
{
|
||||
spc::resampler->clear();
|
||||
msu::resampler->clear();
|
||||
drop_msu1_samples = true;
|
||||
}
|
||||
}
|
||||
|
@ -157,9 +156,7 @@ void S9xFinalizeSamples(void)
|
|||
}
|
||||
}
|
||||
|
||||
if (!Settings.SoundSync || Settings.TurboMode || Settings.Mute)
|
||||
spc::sound_in_sync = TRUE;
|
||||
else if (spc::resampler->space_empty() >= spc::resampler->space_filled())
|
||||
if (!Settings.SoundSync || Settings.TurboMode || Settings.Mute || spc::resampler->space_filled() <= 8)
|
||||
spc::sound_in_sync = TRUE;
|
||||
else
|
||||
spc::sound_in_sync = FALSE;
|
||||
|
|
Loading…
Reference in New Issue