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
@@ -473,7 +473,7 @@ static void back_on_pressed(void)
|
||||
{
|
||||
if (back_btn_is_save_state)
|
||||
{
|
||||
save_game();
|
||||
save_options();
|
||||
change_back_save_text(true);
|
||||
back_btn_is_save_state = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user