aboutsummaryrefslogtreecommitdiff
path: root/brlan.c
diff options
context:
space:
mode:
authormegazig <megazig@megazig-desktop.(none)>2010-05-14 15:31:31 -0500
committermegazig <megazig@megazig-desktop.(none)>2010-05-14 15:31:31 -0500
commit3af59c1d1c9bd022ac6a3a85956a081804e48ab4 (patch)
tree705de723dc4b68f463b42ef1da8ed195374683d4 /brlan.c
parenta4afcf95c1ce552a673379a03b36ccbf46738b21 (diff)
fixed version and endian for brlyt. fixed proper spacing for the specs on pat1
Diffstat (limited to '')
-rw-r--r--brlan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/brlan.c b/brlan.c
index 9cad469..6b721a3 100644
--- a/brlan.c
+++ b/brlan.c
@@ -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);