From f2a479e35cf3e044acc7cb7d0eb3632af5b4d542 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Wed, 14 Dec 2022 21:31:51 -0800 Subject: [PATCH] Update SafeDisc with better finding --- BurnOutSharp/ProtectionType/Macrovision.SafeDisc.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BurnOutSharp/ProtectionType/Macrovision.SafeDisc.cs b/BurnOutSharp/ProtectionType/Macrovision.SafeDisc.cs index 490b8323..62632573 100644 --- a/BurnOutSharp/ProtectionType/Macrovision.SafeDisc.cs +++ b/BurnOutSharp/ProtectionType/Macrovision.SafeDisc.cs @@ -60,7 +60,7 @@ namespace BurnOutSharp.ProtectionType // Found in Redump entries 20729 and 65569. // Get the debug data - if (pex.FindDebugTableByValue("SafeDisc").Any() || pex.FindDebugTableByValue("SafeDisk").Any()) + if (pex.FindCodeViewDebugTableByPath("SafeDisc").Any() || pex.FindCodeViewDebugTableByPath("Safedisk").Any()) return "SafeDisc"; // TODO: Add entry point check