Add note to Itenium

This commit is contained in:
Matt Nadareski
2021-09-10 21:58:27 -07:00
parent 7c27fcd8a4
commit d87087dcfb

View File

@@ -32,6 +32,11 @@ namespace BurnOutSharp.ProtectionType
if (sections == null)
return null;
// TODO: This isn't working for some reason. Look into it a bit more
// var resource = Utilities.FindResourceInSection(pex.ResourceSection, dataContains: "Trial\0P");
// if (resource != null)
// return "INTENIUM Trial & Buy Protection";
// TODO: Find this inside of the .rsrc section using the executable header
// Get the .rsrc section, if it exists
var rsrcSection = sections.FirstOrDefault(s => Encoding.ASCII.GetString(s.Name).StartsWith(".rsrc"));