Add keybinding to rewind (backspace by default), if rewind states are enabled. Disable rewind on mobile.

This commit is contained in:
Henrik Rydgård committed 2013-12-05 16:25:17 +01:00
1 parent 78604f4e78
commit cd2adf80a4
6 files changed
+32 -11

No files matched your search

+3
View File
@@ -340,13 +340,16 @@ namespace SaveState
return;
rewindLastTime = time_now();
DEBUG_LOG(BOOT, "saving rewind state");
rewindStates.Save();
}
void Process()
{
#ifndef USING_GLES2
if (g_Config.iRewindFlipFrequency != 0 && gpuStats.numFlips != 0)
CheckRewindState();
#endif
if (!needsProcess)
return;