mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-24 11:49:05 +02:00
Merge pull request #21167 from sys27/bugfix/fix-exit-when-controller-connected
Fix #20356 - Flatpak application doesn't close until controller is unplugged
This commit is contained in:
1 file changed
+4
@@ -1797,8 +1797,12 @@ int main(int argc, char *argv[]) {
|
||||
while (true) {
|
||||
SDL_Event event;
|
||||
while (SDL_WaitEventTimeout(&event, 100)) {
|
||||
if (g_QuitRequested || g_RestartRequested)
|
||||
break;
|
||||
|
||||
ProcessSDLEvent(window, event, &inputTracker);
|
||||
}
|
||||
|
||||
if (g_QuitRequested || g_RestartRequested)
|
||||
break;
|
||||
|
||||
|
||||
Reference in new issue
Block a user