From 3af59c1d1c9bd022ac6a3a85956a081804e48ab4 Mon Sep 17 00:00:00 2001 From: megazig Date: Fri, 14 May 2010 15:31:31 -0500 Subject: fixed version and endian for brlyt. fixed proper spacing for the specs on pat1 --- brlan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'brlan.c') 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); -- cgit v1.3.1