mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-07-18 23:05:11 +00:00
Modify array finding, part 1
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
{
|
||||
// "SETTEC"
|
||||
byte[] check = new byte[] { 0x53, 0x45, 0x54, 0x54, 0x45, 0x43 };
|
||||
if (fileContent.Contains(check, out int position))
|
||||
if (fileContent.FirstPosition(check, out int position))
|
||||
return "Alpha-ROM" + (includePosition ? $" (Index {position})" : string.Empty);
|
||||
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user