mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-15 02:29:51 +01:00
Add workaround for d3d11 backend savestate loading problems.
Update patches as well.
This commit is contained in:
1 parent
b644c98f24
commit
4517db73d9
2 files changed
+6
-1
No files matched your search
@@ -44,6 +44,7 @@
|
||||
#include "Core/MIPS/MIPS.h"
|
||||
#include "Core/MIPS/JitCommon/JitBlockCache.h"
|
||||
#include "HW/MemoryStick.h"
|
||||
#include "GPU/GPUInterface.h"
|
||||
#include "GPU/GPUState.h"
|
||||
|
||||
namespace SaveState
|
||||
@@ -591,6 +592,10 @@ namespace SaveState
|
||||
callbackMessage = sc->T("Loaded State");
|
||||
callbackResult = true;
|
||||
hasLoadedState = true;
|
||||
if (gpu) {
|
||||
// Workaround for d3d11 load state glitches
|
||||
gpu->ClearCacheNextFrame();
|
||||
}
|
||||
} else if (result == CChunkFileReader::ERROR_BROKEN_STATE) {
|
||||
HandleFailure();
|
||||
callbackMessage = i18nLoadFailure;
|
||||
|
||||
+1
-1
Submodule assets/patches updated: 09211af9ac...5ac424f314.
Reference in new issue
Block a user