mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 00:33:34 +01:00
Add a timeout so quit doesn't hang.
Kinda like before except now it'll quit faster if possible.
This commit is contained in:
1 parent
7c3c06fd23
commit
3dee0e0149
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -89,8 +89,8 @@ void Core_WaitInactive()
|
||||
|
||||
void Core_WaitInactive(int milliseconds)
|
||||
{
|
||||
// TODO
|
||||
Core_WaitInactive();
|
||||
while (!Core_IsInactive())
|
||||
m_hInactiveEvent.wait_for(m_hInactiveMutex, milliseconds);
|
||||
}
|
||||
|
||||
void Core_RunLoop()
|
||||
|
||||
Reference in new issue
Block a user