Do not attempt to report >100% seek progress. (This could happen if the user starts a seek which results in loading a savestate past the frame previously being seeked.)
This commit is contained in:
parent
e1186d9253
commit
ac93f28939
|
@ -351,6 +351,10 @@ namespace BizHawk.Client.EmuHawk
|
||||||
{
|
{
|
||||||
progress = 0;
|
progress = 0;
|
||||||
}
|
}
|
||||||
|
else if (progress > 100)
|
||||||
|
{
|
||||||
|
progress = 100;
|
||||||
|
}
|
||||||
|
|
||||||
_seekBackgroundWorker.ReportProgress((int)progress);
|
_seekBackgroundWorker.ReportProgress((int)progress);
|
||||||
System.Threading.Thread.Sleep(1);
|
System.Threading.Thread.Sleep(1);
|
||||||
|
|
Loading…
Reference in New Issue