diff --git a/BizHawk.Client.Common/rewind/Rewinder.cs b/BizHawk.Client.Common/rewind/Rewinder.cs index 438b2a44c8..6cacd80e55 100644 --- a/BizHawk.Client.Common/rewind/Rewinder.cs +++ b/BizHawk.Client.Common/rewind/Rewinder.cs @@ -58,9 +58,22 @@ namespace BizHawk.Client.Common get { return _rewindFrequency; } } + bool IsRewindEnabledAtAll + { + get + { + if (!Global.Config.RewindEnabledLarge && !Global.Config.RewindEnabledMedium && !Global.Config.RewindEnabledSmall) + return false; + else return true; + } + } + // TOOD: this should not be parameterless?! It is only possible due to passing a static context in public void CaptureRewindState() { + if (!IsRewindEnabledAtAll) + return; + if (Global.Emulator.HasSavestates()) { if (_rewindImpossible)