mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-22 12:33:12 +00:00
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
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue