]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Fix Bug with StartupError function
authorLockl00p <97256723+Lockl00p@users.noreply.github.com>
Fri, 24 May 2024 00:44:02 +0000 (19:44 -0500)
committerLockl00p <97256723+Lockl00p@users.noreply.github.com>
Fri, 24 May 2024 00:44:02 +0000 (19:44 -0500)
Fix Bug with StartupError function

sys_switch.c

index eeac006d5d4f446a7c6f75c11d189d724cdb1de0..119d4fa2e2f12de0c44e68b62c3ca2b9deaa272d 100644 (file)
@@ -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.");
                
 
        }