Improve support for private platforms (#11220)

This commit is contained in:
Caleb Cornett authored and GitHub committed 2024-10-15 18:02:07 -04:00
1 parent 66d09a1cda
commit 9af5ffcfbe
27 files changed
+70 -18

No files matched your search

+3 -1
View File
@@ -245,7 +245,9 @@ static SDL_AssertState SDLCALL SDL_PromptAssertion(const SDL_AssertData *data, v
state = (SDL_AssertState)selected;
}
} else {
#ifdef SDL_PLATFORM_EMSCRIPTEN
#ifdef SDL_PLATFORM_PRIVATE_ASSERT
SDL_PRIVATE_PROMPTASSERTION();
#elif defined(SDL_PLATFORM_EMSCRIPTEN)
// This is nasty, but we can't block on a custom UI.
for (;;) {
bool okay = true;