VideoBackendBase: Do save state logic on the GPU thread
This commit is contained in:
1 parent
a25a4e0708
commit
b26bb0605b
7 files changed
+40
-30
No files matched your search
@@ -154,6 +154,10 @@ void AsyncRequests::HandleEvent(const AsyncRequests::Event& e)
|
||||
case Event::PERF_QUERY:
|
||||
g_perf_query->FlushResults();
|
||||
break;
|
||||
|
||||
case Event::DO_SAVE_STATE:
|
||||
g_video_backend->DoStateGPUThread(*e.do_save_state.p);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user