1
0
mirror of synced 2024-11-12 02:00:50 +01:00

Quick bflim saving fix

This commit is contained in:
KillzXGaming 2020-05-11 09:48:49 -04:00
parent 7a1ed513b1
commit f2237184b8

View File

@ -629,7 +629,6 @@ namespace FirstPlugin
using (var writer = new FileWriter(stream, true))
{
writer.ByteOrder = Syroot.BinaryData.ByteOrder.BigEndian;
writer.CheckByteOrderMark(header.ByteOrderMark);
writer.Write(ImageData);
@ -677,9 +676,6 @@ namespace FirstPlugin
public void Write(FileWriter writer)
{
writer.WriteSignature("FLIM");
if (writer.ByteOrder != Syroot.BinaryData.ByteOrder.LittleEndian)
writer.Write((ushort)0xFFFE);
else
writer.Write((ushort)0xFEFF);
writer.Write(HeaderSize);
writer.Write(Version);