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
@@ -6,6 +6,7 @@
|
||||
#include "gbalatro_sys8.h"
|
||||
#include "graphic_utils.h"
|
||||
#include "joker.h"
|
||||
#include "save.h"
|
||||
#include "sprite.h"
|
||||
|
||||
#include <maxmod.h>
|
||||
@@ -85,6 +86,7 @@ void init()
|
||||
|
||||
// Initialize subsystems
|
||||
mmInitDefault((mm_addr)soundbank_bin, GBAL_MM_NUM_CHANNELS);
|
||||
load_options();
|
||||
affine_background_init();
|
||||
sprite_init();
|
||||
card_init();
|
||||
|
||||
Reference in New Issue
Block a user