mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-19 09:48:14 +00:00
Improve support for private platforms (#11220)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user