SaveState: Allow rewind on mobile.

It's in the settings, so it should work.  Mobile devices have a lot more
RAM than they did 7 years ago.
This commit is contained in:
Unknown W. Brackets 2021-01-03 10:42:40 -08:00
parent fa466d2363
commit fd7d8a7c02
2 changed files with 2 additions and 6 deletions

View file

@ -676,7 +676,6 @@ namespace SaveState
return false;
}
#ifndef MOBILE_DEVICE
static inline void CheckRewindState()
{
if (gpuStats.numFlips % g_Config.iRewindFlipFrequency != 0)
@ -689,10 +688,9 @@ namespace SaveState
return;
rewindLastTime = now;
DEBUG_LOG(BOOT, "saving rewind state");
DEBUG_LOG(BOOT, "Saving rewind state");
rewindStates.Save();
}
#endif
bool HasLoadedState() {
return hasLoadedState;
@ -719,10 +717,8 @@ namespace SaveState
void Process()
{
#ifndef MOBILE_DEVICE
if (g_Config.iRewindFlipFrequency != 0 && gpuStats.numFlips != 0)
CheckRewindState();
#endif
if (!needsProcess)
return;