Reduce redundant code in content matchers now

This commit is contained in:
Matt Nadareski
2021-08-25 20:26:43 -07:00
parent d26a89b8ab
commit 6cde7b8bef
59 changed files with 102 additions and 284 deletions

View File

@@ -44,10 +44,6 @@ namespace BurnOutSharp.ProtectionType
// TODO: Figure out PSX binary header so this can be checked explicitly
// TODO: Detect Red Hand protection
/// <inheritdoc/>
public string CheckContents(string file, byte[] fileContent, bool includeDebug = false)
{
var matchers = GetContentMatchSets();
return MatchUtil.GetFirstMatch(file, fileContent, matchers, includeDebug);
}
public string CheckContents(string file, byte[] fileContent, bool includeDebug = false) => null;
}
}