don't freak out if someone attempts to rewind on a core that is not IStatable
This commit is contained in:
parent
15ccb45dce
commit
71c92cb87e
|
@ -136,9 +136,12 @@ namespace BizHawk.Client.Common
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Rewind(int frames)
|
public void Rewind(int frames)
|
||||||
|
{
|
||||||
|
if (Global.Emulator.HasSavestates())
|
||||||
{
|
{
|
||||||
_rewindThread.Rewind(frames);
|
_rewindThread.Rewind(frames);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// TODO remove me
|
// TODO remove me
|
||||||
public void _RunRewind(int frames)
|
public void _RunRewind(int frames)
|
||||||
|
|
Loading…
Reference in New Issue