mirror of
https://github.com/claunia/libexeinfo.git
synced 2025-12-16 19:14:24 +00:00
Added support for LE/LX executables.
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user