Update SafeDisc with better finding

This commit is contained in:
Matt Nadareski
2022-12-14 21:31:51 -08:00
parent 1f40c2e052
commit f2a479e35c

View File

@@ -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