DrawMainMenu();
- // needed once to offer uploading score tapes after starting the program
- CheckUploadTapes();
-
#if 0
Debug("internal:path", "SDL_GetBasePath() == '%s'",
SDL_GetBasePath());
OpenDoor(DOOR_CLOSE_1 | DOOR_OPEN_2);
SyncEmscriptenFilesystem();
+
+ // needed once to upload tapes (after program start or after user change)
+ CheckUploadTapes();
}
static void gotoTopLevelDir(void)
SetGameStatus(GAME_MODE_MAIN);
DrawMainMenu();
-
- // needed once to offer uploading score tapes after changing user
- CheckUploadTapes();
}
}
}
if (!setup.ask_for_uploading_tapes)
return;
+ // after asking for uploading all tapes once, do not ask again
+ setup.ask_for_uploading_tapes = FALSE;
+
if (directoryExists(getTapeDir(NULL)))
{
boolean tapes_uploaded = OfferUploadTapes();
setup.provide_uploading_tapes = FALSE;
}
- // after asking for uploading all tapes once, do not ask again
- setup.ask_for_uploading_tapes = FALSE;
-
SaveSetup();
}