fs(feat): Add Backup Saves for Custom Save Paths #73
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fs/custom-save-path-backup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds an optional safeguard for users using custom save directories. If enabled, every time a game performs a save commit, the data is mirrored back to the default NAND location. This prevents progress loss if an external drive or SD card is disconnected or corrupted.
Added a checkbox to the Filesystem config tab.
Updated SaveDataFactory to track the backup NAND path.
Hooked IFileSystem::Commit to trigger a recursive sync after the main save finishes.
Implemented clean overwrite logic in SaveDataFactory to ensure the backup is a 1:1 mirror.