Updating the save mechanism by creating an intermediary SaveData struct (#472)

* Make save changes their own branch

* Make SaveData tags char[] instead of u32[]

* Make Game and Options data saving independent

* removed unused functions

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* mark save sections as valid only after they are actually written to SRAM

* fix comparison between different integer types

* Implement some suggestions from @ricfehr3

* Add extensive documentation on the structure of the savefile

* fix doxygen doc generation

* fix it again

---------

Co-authored-by: MathisMartin31 <mathis.martin31@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Geralt
2026-05-10 12:39:54 -07:00
committed by GitHub
co-authored by Copilot Autofix powered by AI MathisMartin31
parent 6373fee144
commit a79c4c92e2
5 changed files with 290 additions and 37 deletions
-2
View File
@@ -661,8 +661,6 @@ void game_init()
jokers_available_to_shop_init();
load_game();
hands = max_hands;
discards = max_discards;
g_game_vars.timer = TM_ZERO;