From 9fa1ef1d2e98d5a9f607d3723871d6926f29bfd3 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Sun, 21 Aug 2022 20:36:37 -0700 Subject: [PATCH] Slight cleanup of CDS --- BurnOutSharp/ProtectionType/CactusDataShield.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/BurnOutSharp/ProtectionType/CactusDataShield.cs b/BurnOutSharp/ProtectionType/CactusDataShield.cs index 14f47954..750cd246 100644 --- a/BurnOutSharp/ProtectionType/CactusDataShield.cs +++ b/BurnOutSharp/ProtectionType/CactusDataShield.cs @@ -92,7 +92,7 @@ namespace BurnOutSharp.ProtectionType new PathMatchSet(new PathMatch("wmmp.exe", useEndsWith: true), "Cactus Data Shield 200"), // Present on CDS-300, as well as SafeDisc. This is likely due to both protections being created by Macrovision. - new PathMatchSet(new PathMatch("00000001.TMP", useEndsWith: true), Get00000001TMPVersion, "Cactus Data Shield 300 (Confirm presence of other CDS-300 files)"), + new PathMatchSet(new PathMatch("00000001.TMP", useEndsWith: true), Get00000001TMPVersion, "Cactus Data Shield 300"), }; return MatchUtil.GetFirstMatch(path, matchers, any: true); @@ -109,13 +109,12 @@ namespace BurnOutSharp.ProtectionType switch (fi.Length) { case 2_048: - return ""; + return "(Confirm presence of other CDS-300 files)"; default: return null; } } - public static string GetVersion(string firstMatchedString, IEnumerable files) { // Find the version.txt file first