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)
{