Skip to content

Commit d234549

Browse files
committed
Use constant for AddD
1 parent 5899dd9 commit d234549

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BinaryObjectScanner/Protection/SecuROM.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ public List<string> CheckDirectoryPath(string path, List<string>? files)
266266
{
267267
int temp = index;
268268
byte[] overlaySample = overlayData.ReadBytes(ref temp, 0x04);
269-
if (overlaySample.EqualsExactly([0x41, 0x64, 0x64, 0x44]))
269+
if (overlaySample.EqualsExactly(SabreTools.Data.Models.SecuROM.Constants.AddDMagicBytes))
270270
{
271271
found = true;
272272
break;

0 commit comments

Comments
 (0)