summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/AsyncRequests.cpp
diff options
context:
space:
mode:
authorStenzek <stenzek@gmail.com>2019-06-29 19:27:53 +1000
committerStenzek <stenzek@gmail.com>2019-07-24 04:10:38 +1000
commit1082468133342586ae2a5986408d163ce5aa14ca (patch)
treeac7fb57285770d9bf07b080b79360ca1b7db9386 /Source/Core/VideoCommon/AsyncRequests.cpp
parentb26bb0605b962456720519b273f171919ebfb65d (diff)
TextureCache: Support saving cache entries, including EFB copies
Diffstat (limited to 'Source/Core/VideoCommon/AsyncRequests.cpp')
-rw-r--r--Source/Core/VideoCommon/AsyncRequests.cpp3
1 files changed, 2 insertions, 1 deletions
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;
}
}