Fix some UB exposed with GCC 10.1.0

This commit is contained in:
PikalaxALT committed 2020-07-11 10:22:34 -04:00
1 parent 038d247e14
commit 535189bf14
3 files changed
+9 -8

No files matched your search

+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;