Skip to content

Commit

Permalink
Fix version relative field bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
FirowMD authored Nov 15, 2024
1 parent d42d6a1 commit 9ea7739
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hlboot.hexpat
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ struct Hlbc {
HlbcVar nints;
HlbcVar nfloats;
HlbcVar nstrings;
if (version >= 5) {
if (version >= 4) {
HlbcVar nbytes;
}
HlbcVar ntypes;
Expand All @@ -627,7 +627,7 @@ struct Hlbc {
u32 string_data;
char strings[string_data];
HlbcVar string_sizes[nstrings.value];
if (version >= 5) {
if (version >= 4) {
u32 byte_data;
u8 bytes[byte_data];
HlbcVar byte_sizes[nbytes.value];
Expand Down Expand Up @@ -658,4 +658,4 @@ struct Hlbc {
}
};

Hlbc hlbc @ 0x00;
Hlbc hlbc @ 0x00;

0 comments on commit 9ea7739

Please sign in to comment.