mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
VideoBackendBase: Do save state logic on the GPU thread
This commit is contained in:
parent
a25a4e0708
commit
b26bb0605b
7 changed files with 40 additions and 30 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue