Fix some UB exposed with GCC 10.1.0

This commit is contained in:
PikalaxALT
2020-07-11 10:22:34 -04:00
parent 038d247e14
commit 535189bf14
3 changed files with 9 additions and 8 deletions
+1 -4
View File
@@ -52,10 +52,7 @@ struct BagMenuStruct
void (*exitCallback)(void);
u8 tilemapBuffer[0x800];
u8 spriteId[12];
u8 windowPointers[7];
u8 unk817;
u8 unk818;
u8 unk819;
u8 windowPointers[10];
u8 itemOriginalLocation;
u8 pocketSwitchDisabled:4;
u8 itemIconSlot:2;