Rename position flag -> debug flag

This commit is contained in:
Matt Nadareski
2021-08-24 15:19:23 -07:00
parent a2a0e5c2ee
commit 43845cf722
62 changed files with 136 additions and 137 deletions

View File

@@ -6,7 +6,7 @@ namespace BurnOutSharp.ProtectionType
public class KeyLock : IContentCheck
{
/// <inheritdoc/>
public string CheckContents(string file, byte[] fileContent, bool includePosition = false)
public string CheckContents(string file, byte[] fileContent, bool includeDebug = false)
{
var matchers = new List<ContentMatchSet>
{
@@ -18,7 +18,7 @@ namespace BurnOutSharp.ProtectionType
}, "Key-Lock (Dongle)"),
};
return MatchUtil.GetFirstMatch(file, fileContent, matchers, includePosition);
return MatchUtil.GetFirstMatch(file, fileContent, matchers, includeDebug);
}
}
}