some autosave stuffs; bootloader to actually use bundled runtime

This commit is contained in:
minjaesong
2023-06-23 17:29:49 +09:00
parent 28e2179e44
commit 0882145f9c
4 changed files with 16 additions and 11 deletions

View File

@@ -110,10 +110,10 @@ class UIInventoryEscMenu(val full: UIInventoryFull) : UICanvas() {
val worldSavefile = getWorldSaveFiledesc(INGAME.worldSavefileName)
INGAME.makeSavegameBackupCopy(playerSavefile)
INGAME.makeSavegameBackupCopy(playerSavefile, false)
WriteSavegame(saveTime_t, WriteSavegame.SaveMode.PLAYER, INGAME.playerDisk, playerSavefile, INGAME as TerrarumIngame, false, onError) {
INGAME.makeSavegameBackupCopy(worldSavefile)
INGAME.makeSavegameBackupCopy(worldSavefile, false)
WriteSavegame(saveTime_t, WriteSavegame.SaveMode.WORLD, INGAME.worldDisk, worldSavefile, INGAME as TerrarumIngame, false, onError) {
// callback:
// rebuild the disk skimmers