mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
Correct timing on resume, avoids small speed burst when resuming gameplay from pause
This commit is contained in:
1 parent
34dcc23e69
commit
3b2fed472e
4 files changed
+23
-6
No files matched your search
@@ -33,6 +33,7 @@
|
||||
#include "Core/FileSystems/MetaFileSystem.h"
|
||||
#include "Core/ELF/ParamSFO.h"
|
||||
#include "Core/HLE/HLE.h"
|
||||
#include "Core/HLE/sceDisplay.h"
|
||||
#include "Core/HLE/ReplaceTables.h"
|
||||
#include "Core/HLE/sceKernel.h"
|
||||
#include "Core/MemMap.h"
|
||||
@@ -550,6 +551,10 @@ namespace SaveState
|
||||
if (op.callback)
|
||||
op.callback(callbackResult, op.cbUserData);
|
||||
}
|
||||
if (operations.size()) {
|
||||
// Avoid triggering frame skipping due to slowdown
|
||||
__DisplaySetWasPaused();
|
||||
}
|
||||
}
|
||||
|
||||
void Init()
|
||||
|
||||
Reference in new issue
Block a user