don't freak out if someone attempts to rewind on a core that is not IStatable

This commit is contained in:
adelikat 2014-11-30 19:58:32 +00:00
parent 15ccb45dce
commit 71c92cb87e
1 changed files with 4 additions and 1 deletions

View File

@ -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