1
0
mirror of synced 2024-11-12 02:00:50 +01:00

BCLAN: Fix writing of PAT1 and PAI1 section (#478)

Co-authored-by: Rambo6Glaz <fake@cia.gov.us>
This commit is contained in:
Rambo6Glaz 2022-04-04 22:30:19 +02:00 committed by GitHub
parent 1ada2a3b12
commit 46b8a21867
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -263,6 +263,8 @@ namespace LayoutBXLYT
writer.WriteUint32Offset(startPos + 16, startPos);
for (int i = 0; i < Groups.Count; i++)
writer.WriteString(Groups[i], 28);
writer.Align(4);
}
}
@ -330,6 +332,7 @@ namespace LayoutBXLYT
writer.WriteUint32Offset(startOfsPos + (i * 4), startOfsPos);
writer.WriteString(Textures[i]);
}
writer.Align(4);
}
if (Entries.Count > 0)
{