From d87087dcfbd3b0ccd92c858821e4358a25fb8ab6 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Fri, 10 Sep 2021 21:58:27 -0700 Subject: [PATCH] Add note to Itenium --- BurnOutSharp/ProtectionType/Intenium.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/BurnOutSharp/ProtectionType/Intenium.cs b/BurnOutSharp/ProtectionType/Intenium.cs index 2f71027b..2ac43de4 100644 --- a/BurnOutSharp/ProtectionType/Intenium.cs +++ b/BurnOutSharp/ProtectionType/Intenium.cs @@ -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"));