Check more EA resources

This commit is contained in:
Matt Nadareski
2022-12-03 23:17:29 -08:00
parent 26db75853b
commit 90d5bd52a2

View File

@@ -32,6 +32,8 @@ namespace BurnOutSharp.ProtectionType
if (pex.FindDialogByTitle("About CDKey").Any())
return $"EA CdKey Registration Module {Utilities.GetInternalVersion(pex)}";
else if (pex.FindGenericResource("About CDKey").Any())
return $"EA CdKey Registration Module {Utilities.GetInternalVersion(pex)}";
// Get the .data/DATA section, if it exists
var dataSectionRaw = pex.GetFirstSectionData(".data") ?? pex.GetFirstSectionData("DATA");