Compare commits

...

1 Commits

Author SHA1 Message Date
coah
302f9a23ce cleanup(NWC24SecretFList): rename SecretFLHeader unk_0x0C to pad_0x0C
Trailing reserved word after infoCount; only zeroed on create.
2026-10-02 14:24:30 -05:00
2 changed files with 2 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ typedef struct NWC24SecretFLHeader {
u32 magic; // 0x00
u32 version; // 0x04
u32 infoCount; // 0x08
u32 unk_0x0C;
u32 pad_0x0C; // 0x0C
u8 unk_0x10[0x7F0];
} NWC24SecretFLHeader;

View File

@@ -55,7 +55,7 @@ NWC24Err NWC24iCreateSecretFriendList() {
header->magic = SECRET_FRIEND_LIST_MAGIC;
header->version = SECRET_FRIEND_LIST_VERSION;
header->infoCount = 336;
header->unk_0x0C = 0;
header->pad_0x0C = 0;
result = NWC24FOpen(&file, FLFilePath, NWC24_OPEN_WRITE);
if (result != NWC24_OK) {