Added support for LE/LX executables.

This commit is contained in:
2017-10-16 21:06:41 +01:00
parent 91cc5f8998
commit e305f78f5f
8 changed files with 735 additions and 2 deletions

View File

@@ -52,6 +52,7 @@ namespace exeinfo
MZ mzExe = new MZ(exeFs);
NE neExe = new NE(exeFs);
AtariST stExe = new AtariST(exeFs);
LX lxExe = new LX(exeFs);
if (mzExe.IsMZ)
{
@@ -117,6 +118,12 @@ namespace exeinfo
Console.Write(stExe.GetInfo());
}
if (lxExe.IsLX)
{
recognized = true;
Console.Write(lxExe.GetInfo());
}
if (!recognized)
Console.WriteLine("Executable format not recognized");
}