Add notes to PSX Anti-modchip

This commit is contained in:
Matt Nadareski
2021-09-01 23:12:16 -07:00
parent 3bd7f5c890
commit e6b898882d

View File

@@ -8,6 +8,7 @@ namespace BurnOutSharp.ProtectionType
/// <inheritdoc/>
public List<ContentMatchSet> GetContentMatchSets()
{
// TODO: Detect Red Hand protection
return new List<ContentMatchSet>
{
// SOFTWARE TERMINATED\nCONSOLE MAY HAVE BEEN MODIFIED\n CALL 1-888-780-7690
@@ -41,9 +42,13 @@ namespace BurnOutSharp.ProtectionType
};
}
// TODO: Figure out PSX binary header so this can be checked explicitly
// TODO: Detect Red Hand protection
// TODO: Figure out PSX binary header so this can be checked explicitly.
// For now, this means that the CheckContents check is redundant for external
// use through other programs
/// <inheritdoc/>
public string CheckContents(string file, byte[] fileContent, bool includeDebug = false) => null;
public string CheckContents(string file, byte[] fileContent, bool includeDebug = false)
{
return MatchUtil.GetFirstMatch(file, fileContent, GetContentMatchSets(), includeDebug);
}
}
}