From: Lockl00p <97256723+Lockl00p@users.noreply.github.com> Date: Fri, 24 May 2024 00:44:02 +0000 (-0500) Subject: Fix Bug with StartupError function X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9f98ec1932a7a8d9f394f42b892270a3e2e961a1;p=xonotic%2Fdarkplaces.git Fix Bug with StartupError function Fix Bug with StartupError function --- diff --git a/sys_switch.c b/sys_switch.c index eeac006d..119d4fa2 100644 --- a/sys_switch.c +++ b/sys_switch.c @@ -68,9 +68,10 @@ void Sys_SDL_Delay (unsigned int milliseconds) int StartupError(char message[]){ consoleInit(NULL); + printf(message); + printf("\nPlease exit the app"); while(appletMainLoop()){ - printf(message); - printf("\nPlease exit the app"); + consoleUpdate(NULL); } } @@ -82,7 +83,7 @@ int main(int argc, char *argv[]) Result result = accountInitialize(AccountServiceType_Application); if (R_FAILED(result)) { - StartupError("Unable to initialize account system"); + StartupError("Unable to initialize account system\nApplet Mode is not supported."); }