mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-10-05 13:08:40 +00:00
Add and use NE constants
This commit is contained in:
11
BurnOutSharp.Models/NewExecutable/Constants.cs
Normal file
11
BurnOutSharp.Models/NewExecutable/Constants.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace BurnOutSharp.Models.NewExecutable
|
||||
{
|
||||
public static class Constants
|
||||
{
|
||||
public static readonly byte[] SignatureBytes = new byte[] { 0x4e, 0x45 };
|
||||
|
||||
public const string SignatureString = "NE";
|
||||
|
||||
public const ushort SignatureUInt16 = 0x454e;
|
||||
}
|
||||
}
|
||||
@@ -17,7 +17,7 @@ namespace BurnOutSharp.Models.NewExecutable
|
||||
/// "E" is high-order byte.
|
||||
/// </summary>
|
||||
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
|
||||
public byte[] Magic;
|
||||
public string Magic;
|
||||
|
||||
/// <summary>
|
||||
/// Version number of the linker.
|
||||
|
||||
Reference in New Issue
Block a user