diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-10-15 22:44:49 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-15 22:44:49 -0400 |
commit | 1f39c34ca47e43b0afccaabe97d1df19e3f0b39b (patch) | |
tree | c3d4cac1627512d166440ead47d9f2285c8b4044 /include/save.h | |
parent | b01213b8bc0e4f82a0ab7505b4fe7db2e2d0ddf2 (diff) | |
parent | a4a3c1c9e5a0026415330eab9bea2f8f3e83e0a3 (diff) |
Merge branch 'master' into minor-constants
Diffstat (limited to 'include/save.h')
-rw-r--r-- | include/save.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/save.h b/include/save.h index 948530406..4eaa72458 100644 --- a/include/save.h +++ b/include/save.h @@ -36,6 +36,7 @@ struct SaveSectionOffsets // Emerald changes this definition to be the sectors per slot. #define NUM_SECTORS_PER_SLOT 16 +#define NUM_SAVE_SLOTS 2 #define UNKNOWN_CHECK_VALUE 0x8012025 #define SPECIAL_SECTION_SENTINEL 0xB39D @@ -104,7 +105,7 @@ bool8 sub_8153408(void); bool8 FullSaveGame(void); bool8 CheckSaveFile(void); u8 Save_LoadGameData(u8 saveType); -u16 sub_815355C(void); +u16 GetSaveBlocksPointersBaseOffset(void); u32 TryReadSpecialSaveSection(u8 sector, u8* dst); u32 TryWriteSpecialSaveSection(u8 sector, u8* src); void Task_LinkSave(u8 taskId); |