I lied, keep it separate

This commit is contained in:
Matt Nadareski
2021-02-20 22:13:48 -08:00
parent 0e82eea891
commit aebc139d52
4 changed files with 47 additions and 32 deletions

View File

@@ -171,6 +171,11 @@ namespace BurnOutSharp.FileType
if (!string.IsNullOrWhiteSpace(protection))
Utilities.AppendToDictionary(protections, file, protection);
// Origin
protection = Origin.CheckContents(fileContent, scanner.IncludePosition);
if (!string.IsNullOrWhiteSpace(protection))
Utilities.AppendToDictionary(protections, file, protection);
// ProtectDisc
protection = ProtectDisc.CheckContents(file, fileContent, scanner.IncludePosition);
if (!string.IsNullOrWhiteSpace(protection))