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

This commit is contained in:
Henrik Rydgård
2013-12-05 16:25:17 +01:00
parent 78604f4e78
commit cd2adf80a4
6 changed files with 32 additions and 11 deletions
+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;