BCLAN: Fix writing of PAT1 and PAI1 section (#478)
Co-authored-by: Rambo6Glaz <fake@cia.gov.us>
This commit is contained in:
parent
1ada2a3b12
commit
46b8a21867
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user