From 00602f58a0c19d35d640b144047531032d428554 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20B=C3=A1lint=20Misius?= Date: Sun, 14 Jan 2024 21:52:07 +0100 Subject: [PATCH] Don't use quick_exit with emscripten This is a temporary fix, that line of code needs to be given some consideration. Maybe a Platform:: function? --- src/PowderToy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PowderToy.cpp b/src/PowderToy.cpp index 6dbe975be..0f4f18feb 100644 --- a/src/PowderToy.cpp +++ b/src/PowderToy.cpp @@ -155,7 +155,7 @@ static void BlueScreen(String detailMessage, std::optional> } // Don't use Platform::Exit, we're practically zombies at this point anyway. -#if defined(__MINGW32__) || defined(__APPLE__) +#if defined(__MINGW32__) || defined(__APPLE__) || defined(__EMSCRIPTEN__) // Come on... exit(-1); #else