Bandage solution for LittleEndian pcks not saving

This commit is contained in:
MayNL
2026-04-01 23:03:21 -04:00
parent e8dd80f7fe
commit 968bd9f3cd
2 changed files with 6 additions and 1 deletions

View File

@@ -138,6 +138,11 @@ namespace PckStudio.Controls
};
}
protected override void PreSave()
{
EditorValue.Endianness = LittleEndianCheckBox.Checked ? OMI.ByteOrder.LittleEndian : OMI.ByteOrder.BigEndian;
}
protected override void PostSave()
{
_timesSaved++;

View File

@@ -8,7 +8,7 @@ namespace PckStudio.Core
public static readonly PackInfo Empty = new PackInfo(default, default, default);
public bool IsValid { get; }
public PckFile File { get; }
public OMI.ByteOrder Endianness { get; }
public OMI.ByteOrder Endianness;
//public enum PackType