No need to set this twice; StopSeeking sets it.

This commit is contained in:
SuuperW 2022-01-22 19:19:03 -06:00
parent 0d7de83d4b
commit 9e8cf71509
3 changed files with 4 additions and 3 deletions

View File

@ -3177,7 +3177,10 @@ namespace BizHawk.Client.EmuHawk
{ {
Tools.TAStudio.StopSeeking(); Tools.TAStudio.StopSeeking();
} }
PauseOnFrame = null; else
{
PauseOnFrame = null;
}
} }
} }

View File

@ -103,7 +103,6 @@ namespace BizHawk.Client.EmuHawk
if (Emulator.Frame >= MainForm.PauseOnFrame) if (Emulator.Frame >= MainForm.PauseOnFrame)
{ {
MainForm.PauseEmulator(); MainForm.PauseEmulator();
MainForm.PauseOnFrame = null;
StopSeeking(); StopSeeking();
GoToPreviousFrame(); GoToPreviousFrame();
} }

View File

@ -891,7 +891,6 @@ namespace BizHawk.Client.EmuHawk
if (notch > 0 && Emulator.Frame >= MainForm.PauseOnFrame) if (notch > 0 && Emulator.Frame >= MainForm.PauseOnFrame)
{ {
MainForm.PauseEmulator(); MainForm.PauseEmulator();
MainForm.PauseOnFrame = null;
StopSeeking(); StopSeeking();
GoToFrame(Emulator.Frame - notch); GoToFrame(Emulator.Frame - notch);
} }