mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Windows: Prevent shutdown lag for non-GL.
For Vulkan/D3D, it was taking an extra second to quit.
This commit is contained in:
parent
a85a88e112
commit
586e35ad23
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue