Disable CD Check in source due to false positives

This commit is contained in:
Matt Nadareski
2020-10-09 23:12:11 -07:00
parent 2af0692ab4
commit 9143e4c02c
2 changed files with 5 additions and 7 deletions

View File

@@ -93,10 +93,10 @@ namespace BurnOutSharp.FileType
if (!string.IsNullOrWhiteSpace(protection))
protections.Add(protection);
// CD Check
protection = CDCheck.CheckContents(fileContent, includePosition);
if (!string.IsNullOrWhiteSpace(protection))
protections.Add(protection);
// CD Check - Disabled because of too many false positives
//protection = CDCheck.CheckContents(fileContent, includePosition);
//if (!string.IsNullOrWhiteSpace(protection))
// protections.Add(protection);
// Cenega ProtectDVD
protection = CengaProtectDVD.CheckContents(fileContent, includePosition);

View File

@@ -13,9 +13,7 @@ namespace BurnOutSharp.ProtectionType
byte[] check = new byte[] { 0x57, 0x69, 0x73, 0x65, 0x4D, 0x61, 0x69, 0x6E };
if (fileContent.Contains(check, out int position))
{
List<string> protections = new List<string> { "Wise Installation Wizard Module" + (includePosition ? $" (Index {position})" : string.Empty)
};
List<string> protections = new List<string> { "Wise Installation Wizard Module" + (includePosition ? $" (Index {position})" : string.Empty) };
if (!File.Exists(file))
return protections;