diff --git a/BizHawk.MultiClient/MainForm.cs b/BizHawk.MultiClient/MainForm.cs
index 61ca3e8ad6..0627e6a712 100644
--- a/BizHawk.MultiClient/MainForm.cs
+++ b/BizHawk.MultiClient/MainForm.cs
@@ -24,6 +24,10 @@ namespace BizHawk.MultiClient
//Movie variables
public Movie InputLog = new Movie("", MOVIEMODE.INACTIVE);
public Movie UserMovie = new Movie("", MOVIEMODE.INACTIVE);
+
+ public bool PressFrameAdvance = false;
+ public bool PressRewind = false;
+
public bool ReadOnly = true; //Global Movie Read only setting
//the currently selected savestate slot
@@ -1127,7 +1131,7 @@ namespace BizHawk.MultiClient
double frameAdvanceTimestampDelta = (now - FrameAdvanceTimestamp).TotalMilliseconds;
bool frameProgressTimeElapsed = Global.Config.FrameProgressDelayMs < frameAdvanceTimestampDelta;
- if (Global.ClientControls["Frame Advance"])
+ if (Global.ClientControls["Frame Advance"] || PressFrameAdvance)
{
//handle the initial trigger of a frame advance
if (FrameAdvanceTimestamp == DateTime.MinValue)
@@ -1148,6 +1152,7 @@ namespace BizHawk.MultiClient
}
}
wasPressed = Global.ActiveController.GetControllersAsMnemonic();
+ PressFrameAdvance = false;
}
else
{
@@ -1166,7 +1171,7 @@ namespace BizHawk.MultiClient
runFrame = true;
}
- if (Global.Config.RewindEnabled && Global.ClientControls["Rewind"])
+ if (Global.Config.RewindEnabled && Global.ClientControls["Rewind"] || PressRewind)
{
rewindCredits += Global.Config.SpeedPercent;
int rewindTodo = rewindCredits / 100;
@@ -1179,6 +1184,8 @@ namespace BizHawk.MultiClient
}
else
runFrame = false;
+
+ PressRewind = false;
}
else rewindCredits = 0;
diff --git a/BizHawk.MultiClient/MainForm.resx b/BizHawk.MultiClient/MainForm.resx
index 29e6a54780..eb39f04815 100644
--- a/BizHawk.MultiClient/MainForm.resx
+++ b/BizHawk.MultiClient/MainForm.resx
@@ -123,6 +123,9 @@
126, 17
+
+ 236, 17
+
30
diff --git a/BizHawk.MultiClient/tools/TAStudio.cs b/BizHawk.MultiClient/tools/TAStudio.cs
index 1640219202..0d3b9e7416 100644
--- a/BizHawk.MultiClient/tools/TAStudio.cs
+++ b/BizHawk.MultiClient/tools/TAStudio.cs
@@ -84,12 +84,12 @@ namespace BizHawk.MultiClient
private void FrameAdvanceButton_Click(object sender, EventArgs e)
{
-
+ Global.MainForm.PressFrameAdvance = true;
}
private void RewindButton_Click(object sender, EventArgs e)
{
-
+ Global.MainForm.PressRewind = true;
}
private void PauseButton_Click(object sender, EventArgs e)