when skipping lag frames with start paused on, don't emulate to the first non-lag frame

This commit is contained in:
adelikat 2014-09-14 15:29:28 +00:00
parent cfa433a9a6
commit 53d45ff184
1 changed files with 1 additions and 1 deletions

View File

@ -2537,7 +2537,7 @@ namespace BizHawk.Client.EmuHawk
double frameAdvanceTimestampDelta = (now - _frameAdvanceTimestamp).TotalMilliseconds; double frameAdvanceTimestampDelta = (now - _frameAdvanceTimestamp).TotalMilliseconds;
bool frameProgressTimeElapsed = Global.Config.FrameProgressDelayMs < frameAdvanceTimestampDelta; bool frameProgressTimeElapsed = Global.Config.FrameProgressDelayMs < frameAdvanceTimestampDelta;
if (Global.Config.SkipLagFrame && Global.Emulator.IsLagFrame && frameProgressTimeElapsed) if (Global.Config.SkipLagFrame && Global.Emulator.IsLagFrame && frameProgressTimeElapsed && Global.Emulator.Frame > 0)
{ {
runFrame = true; runFrame = true;
} }