mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-10 07:04:36 +00:00
PKG : Save file formats automatically if opened and supported.
This commit is contained in:
parent
0f9574101b
commit
6b14db6ffe
1 changed files with 2 additions and 0 deletions
|
@ -118,6 +118,8 @@ namespace FirstPlugin
|
|||
writer.WriteUint32Offset(0, 4); //Size of header - 4
|
||||
for (int i = 0; i < files.Count; i++)
|
||||
{
|
||||
files[i].SaveFileFormat();
|
||||
|
||||
writer.WriteUint32Offset(20 + (i * 16)); //start offset
|
||||
writer.Write(files[i].FileData);
|
||||
writer.WriteUint32Offset(24 + (i * 16)); //end offset
|
||||
|
|
Loading…
Reference in a new issue