mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04: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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue