Don't clear MSU if not enabled. Change sound sync level.

This commit is contained in:
Brandon Wright 2019-02-05 19:34:50 -06:00
parent c376908f2e
commit 1a41ca21b3
1 changed files with 1 additions and 4 deletions

View File

@ -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;