mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00: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:
parent
6ce949a743
commit
e6bb49fb0d
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user