From 1d430ffac9be0859ed96df77b38188979657b925 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Wed, 4 Jul 2018 18:00:06 -0700 Subject: [PATCH] SaveState: Fix stale state threshold. Micro not milli... --- Core/SaveState.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/SaveState.cpp b/Core/SaveState.cpp index bb39f8304e..df3a089e68 100644 --- a/Core/SaveState.cpp +++ b/Core/SaveState.cpp @@ -243,7 +243,7 @@ namespace SaveState static bool hasLoadedState = false; static const int STALE_STATE_USES = 2; // 4 hours of total gameplay since the virtual PSP started the game. - static const u64 STALE_STATE_TIME = 4 * 3600 * 1000; + static const u64 STALE_STATE_TIME = 4 * 3600 * 1000000ULL; static int saveStateGeneration = 0; static std::string saveStateInitialGitVersion = "";