mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
Need to check the quit flag here too
This commit is contained in:
parent
5557c6801b
commit
6f6c81ce19
@ -751,15 +751,15 @@ int main(int argc, char *argv[]) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (g_QuitRequested)
|
||||
break;
|
||||
|
||||
const uint8 *keys = (const uint8 *)SDL_GetKeyState(NULL);
|
||||
SimulateGamepad(keys, &input_state);
|
||||
input_state.pad_buttons = pad_buttons;
|
||||
UpdateInputState(&input_state, true);
|
||||
NativeUpdate(input_state);
|
||||
if (g_QuitRequested)
|
||||
break;
|
||||
NativeRender();
|
||||
#if defined(PPSSPP) && !defined(MAEMO)
|
||||
if (lastUIState != globalUIState) {
|
||||
|
Loading…
Reference in New Issue
Block a user