diff options
| author | Connor McLaughlin <stenzek@gmail.com> | 2019-07-25 13:50:57 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-25 13:50:57 +1000 |
| commit | ac9912bad3ad35b1ef27151ba724a3424c110acc (patch) | |
| tree | 3f6873682f9c6f2570ed0123be82475cc62873d4 /Source/Core/VideoCommon/AsyncRequests.cpp | |
| parent | d82e0e0761aa8cf08048aed64011f0edf5d967a8 (diff) | |
| parent | 2d4d61e967baa460fa45abd4fd6bccfb12fe3cac (diff) | |
Merge pull request #6321 from stenzek/efb-savestates
Support saving EFB and texture cache in save states
Diffstat (limited to 'Source/Core/VideoCommon/AsyncRequests.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/AsyncRequests.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/AsyncRequests.cpp b/Source/Core/VideoCommon/AsyncRequests.cpp index 11a37afdfa..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; @@ -154,6 +155,10 @@ void AsyncRequests::HandleEvent(const AsyncRequests::Event& e) case Event::PERF_QUERY: g_perf_query->FlushResults(); break; + + case Event::DO_SAVE_STATE: + VideoCommon_DoState(*e.do_save_state.p); + break; } } |
