Take out a nonsense if statement that was breaking rewind in Tastudio in some circumstances.

This commit is contained in:
phillip.grimsrud 2012-11-03 00:53:46 +00:00
parent 4727ee72f0
commit 499f049e42
1 changed files with 2 additions and 5 deletions

View File

@ -549,11 +549,8 @@ namespace BizHawk.MultiClient
else
{
//frame-1 because we need to go back an extra frame and then run a frame, otherwise the display doesn't get updated.
if (frame - 1 < Log.StateCount)
{
Global.Emulator.LoadStateBinary(new BinaryReader(new MemoryStream(Log.GetState(frame - 1))));
Global.MainForm.UpdateFrame = true;
}
Global.Emulator.LoadStateBinary(new BinaryReader(new MemoryStream(Log.GetState(frame - 1))));
Global.MainForm.UpdateFrame = true;
}
}
}