From 78c14827202f60a21c1f654187dc8261781000e5 Mon Sep 17 00:00:00 2001 From: adelikat Date: Sun, 17 May 2020 15:06:23 -0500 Subject: [PATCH] Rewinder - remove Movie active check when deciding about keeping the last frame of a rewind. It seems to work without it, but more significantly, rewind is not MOVIE SAFE, it used to be disabled while recording, and somehow got enabled, I guess someone wanted their desyncs --- src/BizHawk.Client.Common/rewind/Rewinder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BizHawk.Client.Common/rewind/Rewinder.cs b/src/BizHawk.Client.Common/rewind/Rewinder.cs index 3a9363acf3..78c322f623 100644 --- a/src/BizHawk.Client.Common/rewind/Rewinder.cs +++ b/src/BizHawk.Client.Common/rewind/Rewinder.cs @@ -300,7 +300,7 @@ namespace BizHawk.Client.Common // each one records how to get back to the previous state, once we've gone back to // the second item, it's already resulted in the first state being loaded. The // first item is just a junk entry with the initial value of _lastState (0 bytes). - if (_rewindBuffer.Count <= 1 || (Global.MovieSession.Movie.IsActive() && Global.MovieSession.Movie.InputLogLength == 0)) + if (_rewindBuffer.Count <= 1) { break; }