diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-10-19 16:30:00 -0400 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2021-10-19 16:30:00 -0400 |
commit | bc409baeff4ef2ec9ab774e0ecd1d0cca991eaaf (patch) | |
tree | de381d11365450825fdf0990d6d54f8989825c6d /include/save.h | |
parent | 934a7e7a5d2074e9f80294ac8f538a2b038061b1 (diff) |
Fix incorrect NUM_SECTORS_PER_SLOT define
Diffstat (limited to 'include/save.h')
-rw-r--r-- | include/save.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/save.h b/include/save.h index 4eaa72458..406e2e492 100644 --- a/include/save.h +++ b/include/save.h @@ -34,8 +34,6 @@ struct SaveSectionOffsets #define SECTOR_FOOTER_SIZE 128 #define SECTOR_SIZE (SECTOR_DATA_SIZE + SECTOR_FOOTER_SIZE) -// 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 @@ -66,7 +64,7 @@ enum #define SECTOR_ID_SAVEBLOCK1_END 4 #define SECTOR_ID_PKMN_STORAGE_START 5 #define SECTOR_ID_PKMN_STORAGE_END 13 -#define SECTOR_SAVE_SLOT_LENGTH 14 +#define NUM_SECTORS_PER_SLOT 14 // Save Slot 1: 0-13; Save Slot 2: 14-27 #define SECTOR_ID_HOF_1 28 #define SECTOR_ID_HOF_2 29 |