summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2019-06-21 12:38:11 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2019-06-21 12:38:11 -0400
commit3f43523352b279fc4498ee4bfde2213504e3ece8 (patch)
tree88413f3e742d214cf98365d411690abb9bdcc69c /src
parentd0bd1df531b6b118222ace6679d1fa8a749a7d02 (diff)
Add comment to merged field
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];
};