mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
Don't run the ingame loop while in the pause menu.
This commit is contained in:
parent
dc91bf2ca3
commit
bfa4a87e2c
@ -141,8 +141,7 @@ static inline void UpdateRunLoop() {
|
||||
NativeRender();
|
||||
}
|
||||
|
||||
void Core_RunLoop()
|
||||
{
|
||||
void Core_RunLoop() {
|
||||
while (globalUIState != UISTATE_INGAME && globalUIState != UISTATE_EXIT) {
|
||||
time_update();
|
||||
|
||||
@ -162,7 +161,7 @@ void Core_RunLoop()
|
||||
#endif
|
||||
}
|
||||
|
||||
while (!coreState) {
|
||||
while (!coreState && globalUIState == UISTATE_INGAME) {
|
||||
time_update();
|
||||
UpdateRunLoop();
|
||||
#ifdef _WIN32
|
||||
|
Loading…
Reference in New Issue
Block a user