Tastudio - when editing while seeking, continue to seek to the originally intended frame
This commit is contained in:
parent
7be7f3aba6
commit
5c4a876d2d
|
@ -466,10 +466,19 @@ namespace BizHawk.Client.EmuHawk
|
||||||
if (_triggerAutoRestore)
|
if (_triggerAutoRestore)
|
||||||
{
|
{
|
||||||
GoToLastEmulatedFrameIfNecessary(_triggerAutoRestoreFromFrame.Value);
|
GoToLastEmulatedFrameIfNecessary(_triggerAutoRestoreFromFrame.Value);
|
||||||
|
|
||||||
|
if (GlobalWin.MainForm.PauseOnFrame.HasValue &&
|
||||||
|
_autoRestoreFrame.HasValue &&
|
||||||
|
_autoRestoreFrame < GlobalWin.MainForm.PauseOnFrame) // If we are already seeking to a later frame don't shorten that journey here
|
||||||
|
{
|
||||||
|
_autoRestoreFrame = GlobalWin.MainForm.PauseOnFrame;
|
||||||
|
}
|
||||||
|
|
||||||
DoAutoRestore();
|
DoAutoRestore();
|
||||||
|
|
||||||
_triggerAutoRestore = false;
|
_triggerAutoRestore = false;
|
||||||
_triggerAutoRestoreFromFrame = null;
|
_triggerAutoRestoreFromFrame = null;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue