ppsspp/UI
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
..
AudioCommon.cpp Call the sound effect mixer directly from Mix instead of pushing the samples from background audio. 2023-07-12 17:55:46 +02:00
AudioCommon.h Move the resampler usage to a common file, AudioCommon. (#17176) 2023-03-24 17:19:57 +01:00
BackgroundAudio.cpp Implement running the game in the background on the pause screen. Fix some bugs. 2023-12-11 12:41:44 +01:00
BackgroundAudio.h Some minor changes and comments after memory profiling 2023-12-08 12:22:12 +01:00
ChatScreen.cpp Fix a particular type of race condition in file dialog requests 2024-01-18 12:25:55 +01:00
ChatScreen.h Fix a particular type of race condition in file dialog requests 2024-01-18 12:25:55 +01:00
ControlMappingScreen.cpp Add "Analog trigger threshold" setting, for conversion of analog trigger inputs to digital button inputs. 2023-12-28 13:36:03 +01:00
ControlMappingScreen.h Add categories for control bindings 2023-12-20 16:20:26 +01:00
CustomButtonMappingScreen.cpp Custom buttons: Store them in an array, remove as many count restrictions as possible. 2023-06-20 10:42:53 +02:00
CustomButtonMappingScreen.h Rename class CustomKey to CustomButton 2023-05-08 10:13:52 +02:00
CwCheatScreen.cpp Fix a particular type of race condition in file dialog requests 2024-01-18 12:25:55 +01:00
CwCheatScreen.h Build: Add some missing include guards. 2023-09-07 17:14:58 -07:00
DarwinFileSystemServices.h Fix file filters in Mac file-open dialogs 2023-07-16 15:22:04 +02:00
DarwinFileSystemServices.mm Fix file filters in Mac file-open dialogs 2023-07-16 15:22:04 +02:00
DebugOverlay.cpp Debug: Add quick "Framebuffer List" overlay. 2023-12-02 14:07:31 +01:00
DebugOverlay.h Move DebugOverlay rendering to the overlay screen, allowing drawing it on top of the menu 2023-08-03 16:19:18 +02:00
DevScreens.cpp [UI/Windows] Object out of scope optimization for better codegeneration (lower level scope) 2023-12-20 12:35:02 +03:00
DevScreens.h Move TouchTestScreen to DevScreens 2023-12-14 19:01:19 +01:00
DiscordIntegration.cpp I18N: Switch to getting categories by index instead of by string lookup 2023-04-07 10:35:01 +02:00
DiscordIntegration.h Global: Reduce includes of common headers. 2022-01-30 16:35:33 -08:00
DisplayLayoutScreen.cpp [UI/Windows] Object out of scope optimization for better codegeneration (lower level scope) 2023-12-20 12:35:02 +03:00
DisplayLayoutScreen.h Refactor UI background rendering. There's now a BackgroundScreen. 2023-12-10 22:26:46 +01:00
DriverManagerScreen.cpp Fix a particular type of race condition in file dialog requests 2024-01-18 12:25:55 +01:00
DriverManagerScreen.h Add new translation strings 2024-01-17 10:51:12 +01:00
EmuScreen.cpp Fix a particular type of race condition in file dialog requests 2024-01-18 12:25:55 +01:00
EmuScreen.h Fix a bunch of edge cases 2023-12-11 15:58:08 +01:00
GameInfoCache.cpp Handle file type detection of extracted ISO directories better. Reported by Nemoumbra. 2024-01-12 15:37:53 +01:00
GameInfoCache.h Get rid of more unnecessary uses of ManagedTexture 2023-12-12 23:13:45 +01:00
GamepadEmu.cpp Fix issue with touch control editor with no game running. Fixes #18652 2023-12-31 01:04:14 +01:00
GamepadEmu.h Add bindings for toggling mouse control and touch screen controls. Not bound by default. 2023-12-29 17:40:57 +01:00
GameScreen.cpp Add some paranoia checks in the GameDB 2024-01-15 10:47:16 +01:00
GameScreen.h Implement running the game in the background on the pause screen. Fix some bugs. 2023-12-11 12:41:44 +01:00
GameSettingsScreen.cpp Fix a particular type of race condition in file dialog requests 2024-01-18 12:25:55 +01:00
GameSettingsScreen.h Add a new screen for managing installed Adreno drivers 2024-01-17 10:51:08 +01:00
GPUDriverTestScreen.cpp Implement running the game in the background on the pause screen. Fix some bugs. 2023-12-11 12:41:44 +01:00
GPUDriverTestScreen.h Implement running the game in the background on the pause screen. Fix some bugs. 2023-12-11 12:41:44 +01:00
InstallZipScreen.cpp I18N: Switch to getting categories by index instead of by string lookup 2023-04-07 10:35:01 +02:00
InstallZipScreen.h Global: Cleanup virtual/override specifiers. 2022-12-10 21:13:36 -08:00
JoystickHistoryView.cpp Remove in/out function arguments 2023-03-31 11:05:33 +02:00
JoystickHistoryView.h Tilt: Add visualizer to customize tilt dialog. Improve defaults. 2023-02-01 15:35:57 +01:00
MainScreen.cpp Fix a particular type of race condition in file dialog requests 2024-01-18 12:25:55 +01:00
MainScreen.h Fix a particular type of race condition in file dialog requests 2024-01-18 12:25:55 +01:00
MemStickScreen.cpp Fix a particular type of race condition in file dialog requests 2024-01-18 12:25:55 +01:00
MemStickScreen.h [GPU Common Vulkan/UI/Windows Debugger] Added const reference for function params 2023-12-14 14:23:31 +03:00
MiscScreens.cpp Load savestate screenshots in the background 2023-12-13 12:07:23 +01:00
MiscScreens.h Implement running the game in the background on the pause screen. Fix some bugs. 2023-12-11 12:41:44 +01:00
NativeApp.cpp GameDB: Add a mutex, and load on demand instead. 2024-01-15 17:17:02 +01:00
OnScreenDisplay.cpp [UI/Windows] Object out of scope optimization for better codegeneration (lower level scope) 2023-12-20 12:35:02 +03:00
OnScreenDisplay.h Implement running the game in the background on the pause screen. Fix some bugs. 2023-12-11 12:41:44 +01:00
PauseScreen.cpp Allow unpausing with keys bound to pause. 2023-12-20 16:55:39 +01:00
PauseScreen.h Allow unpausing with keys bound to pause. 2023-12-20 16:55:39 +01:00
ProfilerDraw.cpp Global: Remove some unused variables. 2021-02-15 11:59:45 -08:00
ProfilerDraw.h Add new shader viewing tool 2015-10-14 18:10:21 +02:00
PSPNSApplicationDelegate.h Recognize openable types in Info.plist, debug menu in top bar 2023-04-22 18:11:06 +03:00
PSPNSApplicationDelegate.mm Change global UI messages to use an enum instead of strings. 2023-09-30 11:37:02 +02:00
RemoteISOScreen.cpp Fix a particular type of race condition in file dialog requests 2024-01-18 12:25:55 +01:00
RemoteISOScreen.h Remote disc streaming: Add an option for a "Remote" tab on the main screen 2023-12-28 18:58:47 +01:00
ReportScreen.cpp [UI/Windows] Object out of scope optimization for better codegeneration (lower level scope) 2023-12-20 12:35:02 +03:00
ReportScreen.h Implement running the game in the background on the pause screen. Fix some bugs. 2023-12-11 12:41:44 +01:00
RetroAchievementScreens.cpp Fix a particular type of race condition in file dialog requests 2024-01-18 12:25:55 +01:00
RetroAchievementScreens.h Update rcheevos 2024-01-14 13:47:44 +01:00
SavedataScreen.cpp Fix a particular type of race condition in file dialog requests 2024-01-18 12:25:55 +01:00
SavedataScreen.h Change global UI messages to use an enum instead of strings. 2023-09-30 11:37:02 +02:00
Store.cpp Add a new screen for managing installed Adreno drivers 2024-01-17 10:51:08 +01:00
Store.h [GPU Common Vulkan/UI/Windows Debugger] Added const reference for function params 2023-12-14 14:23:31 +03:00
TabbedDialogScreen.cpp Fix a particular type of race condition in file dialog requests 2024-01-18 12:25:55 +01:00
TabbedDialogScreen.h Change global UI messages to use an enum instead of strings. 2023-09-30 11:37:02 +02:00
Theme.cpp IniFile: Store sections in unique_ptrs, instead of directly. 2023-08-13 13:41:43 +02:00
Theme.h Allow to change atlas per theme 2022-04-01 09:59:40 +02:00
TiltAnalogSettingsScreen.cpp Finish previous commit 2023-12-29 17:24:15 +01:00
TiltAnalogSettingsScreen.h Show the tilt input type directly on the item that goes to the tilt settings 2023-12-29 14:10:03 +01:00
TouchControlLayoutScreen.cpp Finish previous commit 2023-12-29 17:24:15 +01:00
TouchControlLayoutScreen.h Global: Cleanup virtual/override specifiers. 2022-12-10 21:13:36 -08:00
TouchControlVisibilityScreen.cpp Collapse the "Custom 1", "Custom 2" etc translation strings 2023-06-20 10:42:56 +02:00
TouchControlVisibilityScreen.h Custom buttons: Store them in an array, remove as many count restrictions as possible. 2023-06-20 10:42:53 +02:00
UI.vcxproj Add a new screen for managing installed Adreno drivers 2024-01-17 10:51:08 +01:00
UI.vcxproj.filters Add a new screen for managing installed Adreno drivers 2024-01-17 10:51:08 +01:00