diff options
| author | megazig <megazig@megazig-desktop.(none)> | 2010-05-14 15:31:31 -0500 |
|---|---|---|
| committer | megazig <megazig@megazig-desktop.(none)> | 2010-05-14 15:31:31 -0500 |
| commit | 3af59c1d1c9bd022ac6a3a85956a081804e48ab4 (patch) | |
| tree | 705de723dc4b68f463b42ef1da8ed195374683d4 /brlan.c | |
| parent | a4afcf95c1ce552a673379a03b36ccbf46738b21 (diff) | |
fixed version and endian for brlyt. fixed proper spacing for the specs on pat1
Diffstat (limited to '')
| -rw-r--r-- | brlan.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1037,8 +1037,8 @@ void write_brlan(char *infile, char* outfile) if ( first != NULL ) get_value(first, temp1, 0x10); u32 temp1_len = strlen(temp1); - if ( temp1_len % 8 ) - temp1_len += (8 - (temp1_len % 8)); + if ( temp1_len % 4 ) + temp1_len += (4 - (temp1_len % 4)); fwrite(temp1, temp1_len, 1, fp); //pathead.unk4_offset = be32(be32(pathead.unk3_offset) + temp1_len); pathead.unk4_offset = be32(0x1C + temp1_len); |
