From 71c92cb87e8e5bdc4d60cb6252bea4383393ea69 Mon Sep 17 00:00:00 2001 From: adelikat Date: Sun, 30 Nov 2014 19:58:32 +0000 Subject: [PATCH] don't freak out if someone attempts to rewind on a core that is not IStatable --- BizHawk.Client.Common/rewind/Rewinder.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/BizHawk.Client.Common/rewind/Rewinder.cs b/BizHawk.Client.Common/rewind/Rewinder.cs index 53aea44454..2d0ed045cb 100644 --- a/BizHawk.Client.Common/rewind/Rewinder.cs +++ b/BizHawk.Client.Common/rewind/Rewinder.cs @@ -137,7 +137,10 @@ namespace BizHawk.Client.Common public void Rewind(int frames) { - _rewindThread.Rewind(frames); + if (Global.Emulator.HasSavestates()) + { + _rewindThread.Rewind(frames); + } } // TODO remove me