PKG : Save file formats automatically if opened and supported.
This commit is contained in:
parent
0f9574101b
commit
6b14db6ffe
@ -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 New Issue
Block a user