From 1082468133342586ae2a5986408d163ce5aa14ca Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sat, 29 Jun 2019 19:27:53 +1000 Subject: TextureCache: Support saving cache entries, including EFB copies --- Source/Core/VideoCommon/AsyncRequests.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source/Core/VideoCommon/AsyncRequests.cpp') diff --git a/Source/Core/VideoCommon/AsyncRequests.cpp b/Source/Core/VideoCommon/AsyncRequests.cpp index 67a3441af1..a824d0020a 100644 --- a/Source/Core/VideoCommon/AsyncRequests.cpp +++ b/Source/Core/VideoCommon/AsyncRequests.cpp @@ -11,6 +11,7 @@ #include "VideoCommon/VertexManagerBase.h" #include "VideoCommon/VideoBackendBase.h" #include "VideoCommon/VideoCommon.h" +#include "VideoCommon/VideoState.h" AsyncRequests AsyncRequests::s_singleton; @@ -156,7 +157,7 @@ void AsyncRequests::HandleEvent(const AsyncRequests::Event& e) break; case Event::DO_SAVE_STATE: - g_video_backend->DoStateGPUThread(*e.do_save_state.p); + VideoCommon_DoState(*e.do_save_state.p); break; } } -- cgit v1.2.3