consistent alpharom stylization (#395)

I forgot that Alpha-ROM is stylized with a dash. Mainly PRing so it'll also be consistent with how it already is on redump.
This commit is contained in:
HeroponRikiBestest
2025-11-17 12:29:26 -05:00
committed by GitHub
parent 41ad8adf6e
commit cc7592e07a

View File

@@ -84,7 +84,7 @@ namespace BinaryObjectScanner.Protection
&& Array.FindAll(applicationIdentifierStringBytes, b => b < 60).Length >= 5
&& Array.FindAll(applicationIdentifierStringBytes, b => b > 60).Length >= 5)
{
return "AlphaROM";
return "Alpha-ROM";
}
// Type #2: Usually 20 characters long, but Redump ID 124334 is 18 characters long. Validate that it
@@ -107,7 +107,7 @@ namespace BinaryObjectScanner.Protection
var startingNumbers = Encoding.ASCII.GetBytes(applicationIdentifierString.Substring(0, index));
var finalCharacters = Encoding.ASCII.GetBytes(applicationIdentifierString.Substring(index));
if (Array.TrueForAll(startingNumbers, b => b < 60) && Array.TrueForAll(finalCharacters, b => b > 60))
return "AlphaROM";
return "Alpha-ROM";
}
return null;