ppsspp/Core/Dialog
Henrik Rydgård 1304d04161 Fix a particular type of race condition in file dialog requests
It seems to be possible for a user to back out of a screen before
receiving the "dialog completed" callback on Android, in which case
things pointed to by the callback might be gone.

In this case, it's better to simply not call the callback, rather than
crashing.

This is accomplished by assigning "Tokens" to screens that cause
requests, and in ~Screen, invalidate any pending requests belonging to
that token.
2024-01-18 12:25:55 +01:00
..
PSPDialog.cpp Allow configuring the game language separately from the PPSSPP UI language, with a new setting. 2023-07-23 11:30:04 +02:00
PSPDialog.h Dialog: Update by button flag consistently. 2023-02-08 19:02:37 -08:00
PSPGamedataInstallDialog.cpp [Core/Debugger/FileLoaders/FileSystems/MIPS] Using reserve if possible 2023-12-15 13:59:19 +03:00
PSPGamedataInstallDialog.h [Core/Dialog/ELF/FileSystems/HLE/HW/Util] Added const reference for function params 2023-12-14 14:22:24 +03:00
PSPMsgDialog.cpp [Core/Dialog/ELF/FileSystems/HLE/HW/Util] Added const reference for function params 2023-12-14 14:22:24 +03:00
PSPMsgDialog.h [Core/Dialog/ELF/FileSystems/HLE/HW/Util] Added const reference for function params 2023-12-14 14:22:24 +03:00
PSPNetconfDialog.cpp [Common/Core/HLE] Object out of scope optimization for better codegeneration (lower level scope) 2023-12-20 12:33:56 +03:00
PSPNetconfDialog.h [Core/Dialog/ELF/FileSystems/HLE/HW/Util] Added const reference for function params 2023-12-14 14:22:24 +03:00
PSPNpSigninDialog.cpp [Common/Core/HLE] Object out of scope optimization for better codegeneration (lower level scope) 2023-12-20 12:33:56 +03:00
PSPNpSigninDialog.h [Core/Dialog/ELF/FileSystems/HLE/HW/Util] Added const reference for function params 2023-12-14 14:22:24 +03:00
PSPOskDialog.cpp Fix a particular type of race condition in file dialog requests 2024-01-18 12:25:55 +01:00
PSPOskDialog.h PSPOskDialog: Add sanity check. 2023-04-21 09:12:06 +02:00
PSPPlaceholderDialog.cpp Dialog: Update by button flag consistently. 2023-02-08 19:02:37 -08:00
PSPPlaceholderDialog.h Global: Cleanup virtual/override specifiers. 2022-12-10 21:13:36 -08:00
PSPSaveDialog.cpp [Core/Dialog/ELF/FileSystems/HLE/HW/Util] Added const reference for function params 2023-12-14 14:22:24 +03:00
PSPSaveDialog.h [Core/Dialog/ELF/FileSystems/HLE/HW/Util] Added const reference for function params 2023-12-14 14:22:24 +03:00
PSPScreenshotDialog.cpp Dialog: Update by button flag consistently. 2023-02-08 19:02:37 -08:00
PSPScreenshotDialog.h Global: Cleanup virtual/override specifiers. 2022-12-10 21:13:36 -08:00
SavedataParam.cpp Make some global string pointers const, not just the strings. 2023-12-29 14:09:45 +01:00
SavedataParam.h [Core/Dialog/ELF/FileSystems/HLE/HW/Util] Added const reference for function params 2023-12-14 14:22:24 +03:00