summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/party_menu.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/party_menu.c b/src/party_menu.c
index 66069804b..f20bdff51 100755
--- a/src/party_menu.c
+++ b/src/party_menu.c
@@ -107,7 +107,11 @@ struct Struct203CEC4
u8 windowId[3];
u8 actions[8];
u8 listSize;
- u16 palBuffer[0x100];
+ // In vanilla Emerald, only the first 0xB0 hwords (0x160 bytes) are actually used.
+ // However, a full 0x100 hwords (0x200 bytes) are allocated.
+ // It is likely that the 0x160 value used below is a constant defined by
+ // bin2c, the utility used to encode the compressed palette data.
+ u16 palBuffer[BG_PLTT_SIZE / sizeof(u16)];
s16 data[16];
};