mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-25 23:33:41 +01:00
Allow Core_WaitInactive() when already inactive.
It's being called unconditionally now, it was changed in the other one, so I guess it needs changing here.
This commit is contained in:
1 parent
6ce949a743
commit
e6bb49fb0d
1 file changed
+2
-1
+2
-1
@@ -88,7 +88,8 @@ void Core_WaitInactive()
|
||||
|
||||
void Core_WaitInactive(int milliseconds)
|
||||
{
|
||||
m_hInactiveEvent.wait_for(m_hInactiveMutex, milliseconds);
|
||||
if (Core_IsActive())
|
||||
m_hInactiveEvent.wait_for(m_hInactiveMutex, milliseconds);
|
||||
}
|
||||
|
||||
void UpdateScreenScale() {
|
||||
|
||||
Reference in new issue
Block a user