tastudio: fix upward drawing.

This commit is contained in:
feos 2015-12-26 13:16:14 +03:00
parent ac1c7d0992
commit dc3a133d0b
1 changed files with 2 additions and 0 deletions

View File

@ -206,6 +206,8 @@ namespace BizHawk.Client.EmuHawk
double progress = (double)100d /
(GlobalWin.MainForm.PauseOnFrame.Value - _seekStartFrame.Value) *
(Global.Emulator.Frame - _seekStartFrame.Value);
if (progress < 0)
progress = 0;
_seekBackgroundWorker.ReportProgress((int)progress);
System.Threading.Thread.Sleep(1);
}