From 938e1f94bbb7da6c835eb559c2070d282777c4b2 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Sat, 31 Oct 2020 14:19:41 -0700 Subject: [PATCH] Fix CDCheck message (non-false-positive in XCP) --- BurnOutSharp/ProtectionType/CDCheck.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BurnOutSharp/ProtectionType/CDCheck.cs b/BurnOutSharp/ProtectionType/CDCheck.cs index 4ba83c01..0439a1be 100644 --- a/BurnOutSharp/ProtectionType/CDCheck.cs +++ b/BurnOutSharp/ProtectionType/CDCheck.cs @@ -12,7 +12,7 @@ // CDCheck check = new byte[] { 0x43, 0x44, 0x43, 0x68, 0x65, 0x63, 0x6B }; if (fileContent.Contains(check, out position)) - return "Microsoft Game Studios CD Check" + (includePosition ? $" (Index {position})" : string.Empty); + return "Executable-Based CD Check" + (includePosition ? $" (Index {position})" : string.Empty); return null; }