From d2345490999487c9394690c4982dfcb87944049f Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Mon, 29 Sep 2025 08:26:37 -0400 Subject: [PATCH] Use constant for AddD --- BinaryObjectScanner/Protection/SecuROM.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BinaryObjectScanner/Protection/SecuROM.cs b/BinaryObjectScanner/Protection/SecuROM.cs index 42203018..ef9ae750 100644 --- a/BinaryObjectScanner/Protection/SecuROM.cs +++ b/BinaryObjectScanner/Protection/SecuROM.cs @@ -266,7 +266,7 @@ namespace BinaryObjectScanner.Protection { int temp = index; byte[] overlaySample = overlayData.ReadBytes(ref temp, 0x04); - if (overlaySample.EqualsExactly([0x41, 0x64, 0x64, 0x44])) + if (overlaySample.EqualsExactly(SabreTools.Data.Models.SecuROM.Constants.AddDMagicBytes)) { found = true; break;