diff --git a/Source/Plugins/Plugin_VideoDX9/Src/main.cpp b/Source/Plugins/Plugin_VideoDX9/Src/main.cpp index 4071e0ddc8..0d3ef903cf 100644 --- a/Source/Plugins/Plugin_VideoDX9/Src/main.cpp +++ b/Source/Plugins/Plugin_VideoDX9/Src/main.cpp @@ -294,7 +294,9 @@ void Shutdown() void DoState(unsigned char **ptr, int mode) { // Clear texture cache because it might have written to RAM + CommandProcessor::FifoCriticalEnter(); TextureCache::Invalidate(false); + CommandProcessor::FifoCriticalLeave(); // No need to clear shader caches. PointerWrap p(ptr, mode); VideoCommon_DoState(p);