Update special save sector size checks

This commit is contained in:
GriffinR
2022-08-05 12:11:33 -04:00
parent 2487ddb128
commit 079b1762ac
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -15,7 +15,8 @@
#include "constants/items.h"
#include "constants/trainer_hill.h"
STATIC_ASSERT(sizeof(struct TrainerHillChallenge) <= SECTOR_DATA_SIZE, TrainerHillChallengeFreeSpace);
// Save data using TryWriteSpecialSaveSector is allowed to exceed SECTOR_DATA_SIZE (up to the counter field)
STATIC_ASSERT(sizeof(struct TrainerHillChallenge) <= SECTOR_COUNTER_OFFSET, TrainerHillChallengeFreeSpace);
struct SendRecvMgr
{