diff --git a/Core/SaveState.cpp b/Core/SaveState.cpp index 4b5a4a5426..ae0d68882e 100644 --- a/Core/SaveState.cpp +++ b/Core/SaveState.cpp @@ -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; diff --git a/assets/patches b/assets/patches index 09211af9ac..5ac424f314 160000 --- a/assets/patches +++ b/assets/patches @@ -1 +1 @@ -Subproject commit 09211af9acfcf54074714952b2781ef867f919d8 +Subproject commit 5ac424f3147c08cb6714d7ad4115fd79cf6a1803