1
0
mirror of synced 2024-11-30 18:24:39 +01:00

PKG : Save file formats automatically if opened and supported.

This commit is contained in:
KillzXGaming 2021-12-28 14:31:06 -05:00
parent 0f9574101b
commit 6b14db6ffe

View File

@ -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