Disable .shr section for SecuROM for now

This commit is contained in:
Matt Nadareski
2022-07-11 10:08:08 -07:00
parent d7fcc99fc2
commit 655a8adb1c

View File

@@ -39,10 +39,12 @@ namespace BurnOutSharp.ProtectionType
return $"SecuROM {GetV7Version(pex)}";
// TODO: This needs a lot of verification, including version
// Get the .shr section, if it exists
bool shrSection = pex.ContainsSection(".shr", exact: true);
if (shrSection)
return $"SecuROM 8 (White Label)";
// Disabled until overmatching can be solved
//// Get the .shr section, if it exists
//bool shrSection = pex.ContainsSection(".shr", exact: true);
//if (shrSection)
// return $"SecuROM 8 (White Label)";
// Get the .sll section, if it exists
bool sllSection = pex.ContainsSection(".sll", exact: true);