From cc7592e07aa1b1fa3a40dedf631f3103bc68dcc8 Mon Sep 17 00:00:00 2001 From: HeroponRikiBestest <50224630+HeroponRikiBestest@users.noreply.github.com> Date: Mon, 17 Nov 2025 12:29:26 -0500 Subject: [PATCH] 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. --- BinaryObjectScanner/Protection/AlphaROM.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BinaryObjectScanner/Protection/AlphaROM.cs b/BinaryObjectScanner/Protection/AlphaROM.cs index fd7161af..810a5a50 100644 --- a/BinaryObjectScanner/Protection/AlphaROM.cs +++ b/BinaryObjectScanner/Protection/AlphaROM.cs @@ -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;