Revert "Make SoundSync mutually exclusive with DynamicRateControl in GTK+ port. Disable S9xContinueUpdate."

This reverts commit 63394cd26a.
This commit is contained in:
Brandon Wright 2017-11-27 12:33:25 -06:00
parent 63394cd26a
commit 7931400b44
2 changed files with 4 additions and 3 deletions

View File

@ -1901,6 +1901,7 @@ S9xReinitDisplay (void)
bool8
S9xContinueUpdate (int width, int height)
{
S9xDeinitUpdate (width, height);
return TRUE;
}

View File

@ -503,7 +503,7 @@ S9xSyncSpeedFinish (void)
gettimeofday (&now, NULL);
if (Settings.SoundSync && !Settings.DynamicRateControl)
if (Settings.SoundSync)
{
while (!S9xSyncSound ())
{
@ -611,7 +611,7 @@ S9xSyncSpeed (void)
++next_frame_time.tv_usec;
}
if (Settings.SkipFrames == AUTO_FRAMERATE && (!Settings.SoundSync || Settings.DynamicRateControl))
if (Settings.SkipFrames == AUTO_FRAMERATE && !Settings.SoundSync)
{
lag = TIMER_DIFF (now, next_frame_time);
@ -641,7 +641,7 @@ S9xSyncSpeed (void)
}
else
{
limit = (Settings.SoundSync && !Settings.DynamicRateControl) ? 1 : Settings.SkipFrames + 1;
limit = Settings.SoundSync ? 1 : Settings.SkipFrames + 1;
IPPU.SkippedFrames++;
IPPU.RenderThisFrame = 0;