mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-08-08 17:09:20 +00:00
Else-If causes some issues
This commit is contained in:
@@ -8,9 +8,11 @@ namespace BurnOutSharp.ProtectionType
|
||||
{
|
||||
public static string CheckContents(string file, string fileContent)
|
||||
{
|
||||
// TODO: Detect Red Hand protection
|
||||
if (fileContent.Contains(" SOFTWARE TERMINATED\nCONSOLE MAY HAVE BEEN MODIFIED\n CALL 1-888-780-7690"))
|
||||
return "PlayStation Anti-modchip (English)";
|
||||
else if (fileContent.Contains("強制終了しました。\n本体が改造されている\nおそれがあります。"))
|
||||
|
||||
if (fileContent.Contains("強制終了しました。\n本体が改造されている\nおそれがあります。"))
|
||||
return "PlayStation Anti-modchip (Japanese)";
|
||||
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user