mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
VideoBackendBase: Do save state logic on the GPU thread
This commit is contained in:
@ -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