mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-11 07:03:33 +02:00
Windows: Prevent shutdown lag for non-GL.
For Vulkan/D3D, it was taking an extra second to quit.
This commit is contained in:
@@ -234,6 +234,10 @@ void MainThreadFunc() {
|
||||
}
|
||||
}
|
||||
Core_Stop();
|
||||
if (!useEmuThread) {
|
||||
// Process the shutdown. Without this, non-GL delays 800ms on shutdown.
|
||||
Core_Run(g_graphicsContext);
|
||||
}
|
||||
Core_WaitInactive(800);
|
||||
|
||||
g_inLoop = false;
|
||||
|
||||
Reference in New Issue
Block a user