Skip to content

Conversation

@hyperbx
Copy link
Member

@hyperbx hyperbx commented Mar 4, 2025

Not a perfect solution for mitigating save data corruption, for that we'd want backups of SYS-DATA created before writing to the main file.

This should prevent corruption by casually closing the game whilst it's saving at least.

@hyperbx hyperbx added this to the v1.0.2 milestone Mar 4, 2025
@blueskythlikesclouds
Copy link
Member

Is CSaveIcon guaranteed to execute every frame regardless of game state?

@hyperbx
Copy link
Member Author

hyperbx commented Mar 7, 2025

Yes, it updates every frame regardless. It uses Hedgehog::Universe::CUpdateUnit and has a singleton in SWA::CApplicationDocument, so it should always be active.

@blueskythlikesclouds blueskythlikesclouds merged commit 676c3f0 into main Mar 7, 2025
5 checks passed
@blueskythlikesclouds blueskythlikesclouds deleted the block-quit-on-autosave branch March 7, 2025 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants