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:
co-authored by
Copilot Autofix powered by AI
MathisMartin31
parent
6373fee144
commit
a79c4c92e2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user