Fix: TAStudio was still seeking after edits with "Auto restore" disabled and while unpaused.
Fix: The bug where editing while seeking changed PauseOnFrame came back again.
This commit is contained in:
parent
07a8a4c1d3
commit
b9865db397
|
@ -49,7 +49,11 @@ namespace BizHawk.Client.EmuHawk
|
|||
if (Global.Emulator.Frame > CurrentTasMovie.LastValidFrame)
|
||||
{
|
||||
if (_autoRestorePaused == null)
|
||||
{
|
||||
_autoRestorePaused = GlobalWin.MainForm.EmulatorPaused;
|
||||
if (GlobalWin.MainForm.IsSeeking) // If seeking, do not shorten seek.
|
||||
_autoRestoreFrame = GlobalWin.MainForm.PauseOnFrame;
|
||||
}
|
||||
|
||||
GoToLastEmulatedFrameIfNecessary(CurrentTasMovie.LastValidFrame);
|
||||
GlobalWin.MainForm.PauseOnFrame = _autoRestoreFrame;
|
||||
|
|
|
@ -533,6 +533,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
if (_autoRestorePaused.HasValue && !_autoRestorePaused.Value)
|
||||
GlobalWin.MainForm.UnpauseEmulator();
|
||||
_autoRestorePaused = null;
|
||||
GlobalWin.MainForm.PauseOnFrame = null; // Cancel seek to autorestore point
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue