ppsspp/headless
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
..
Compare.cpp Core: Remove Host entirely. 2023-03-25 17:47:25 -07:00
Compare.h headless: Allow screenshot to not be 512x272. 2022-10-18 21:33:47 -07:00
Headless.cpp Fix a particular type of race condition in file dialog requests 2024-01-18 12:25:55 +01:00
headless.txt Make headless take arguments like a standard cli. 2012-11-24 21:59:38 -08:00
Headless.vcxproj Proof-of-concept: libchdr works on Windows 2023-09-29 10:05:19 +02:00
Headless.vcxproj.filters headless: Rename StubHost to HeadlessHost. 2023-03-25 17:49:05 -07:00
HeadlessHost.cpp headless: Fix screenshot failure. 2023-03-31 23:51:04 -07:00
HeadlessHost.h headless: Fix screenshot failure. 2023-03-31 23:51:04 -07:00
SDLHeadlessHost.cpp Address feedback 2023-08-14 11:06:20 +02:00
SDLHeadlessHost.h headless: Rename StubHost to HeadlessHost. 2023-03-25 17:49:05 -07:00
WindowsHeadlessHost.cpp Remove "SwapBuffers" from the GraphicsContext interface. 2023-08-11 01:57:02 +02:00
WindowsHeadlessHost.h Windows: Split out Create... from InitSysDirectories, fixup uses 2023-08-18 12:46:40 +02:00