Static assertion for size of save structs

This commit is contained in:
Martin Griffin
2022-05-25 17:46:48 +01:00
parent 2a6e57c082
commit 1cc59acca9
5 changed files with 16 additions and 0 deletions
+2
View File
@@ -15,6 +15,8 @@
#include "constants/items.h"
#include "constants/trainer_hill.h"
STATIC_ASSERT(sizeof(struct TrainerHillChallenge) <= SECTOR_DATA_SIZE, TrainerHillChallengeFreeSpace);
struct SendRecvMgr
{
bool8 isParent;