Skip to content

Commit 9e8cf71

Browse files
committed
No need to set this twice; StopSeeking sets it.
1 parent 0d7de83 commit 9e8cf71

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/BizHawk.Client.EmuHawk/MainForm.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3177,7 +3177,10 @@ private void StepRunLoop_Core(bool force = false)
31773177
{
31783178
Tools.TAStudio.StopSeeking();
31793179
}
3180-
PauseOnFrame = null;
3180+
else
3181+
{
3182+
PauseOnFrame = null;
3183+
}
31813184
}
31823185
}
31833186

src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.IControlMainForm.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ public bool Rewind()
103103
if (Emulator.Frame >= MainForm.PauseOnFrame)
104104
{
105105
MainForm.PauseEmulator();
106-
MainForm.PauseOnFrame = null;
107106
StopSeeking();
108107
GoToPreviousFrame();
109108
}

src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,6 @@ private void TasView_MouseWheel(object sender, MouseEventArgs e)
891891
if (notch > 0 && Emulator.Frame >= MainForm.PauseOnFrame)
892892
{
893893
MainForm.PauseEmulator();
894-
MainForm.PauseOnFrame = null;
895894
StopSeeking();
896895
GoToFrame(Emulator.Frame - notch);
897896
}

0 commit comments

Comments
 (0)