File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
BinaryObjectScanner/Protection Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ public List<string> CheckDirectoryPath(string path, List<string>? files)
262262 // Search for the "AddD" string in the overlay
263263 bool found = false ;
264264 int index = 0 ;
265- for ( ; index < 0x100 && index + 4 < overlayData . Length ; index ++ )
265+ for ( ; index < 0x20 && index + 4 < overlayData . Length ; index ++ )
266266 {
267267 int temp = index ;
268268 byte [ ] overlaySample = overlayData . ReadBytes ( ref temp , 0x04 ) ;
@@ -273,7 +273,7 @@ public List<string> CheckDirectoryPath(string path, List<string>? files)
273273 }
274274 }
275275
276- // If the string wasn't found in the first 0x100 bytes
276+ // If the string wasn't found in the first 0x20 bytes
277277 if ( ! found )
278278 return null ;
279279
You can’t perform that action at this time.
0 commit comments