From 343ca9497ef078f764c5a0bb045def69f4a15b25 Mon Sep 17 00:00:00 2001 From: HeroponRikiBestest <50224630+HeroponRikiBestest@users.noreply.github.com> Date: Thu, 4 Jul 2024 22:13:49 -0400 Subject: [PATCH] Fix #.##.xx version number writing second x digit to first digit (#310) --- BinaryObjectScanner/Protection/SecuROM.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BinaryObjectScanner/Protection/SecuROM.cs b/BinaryObjectScanner/Protection/SecuROM.cs index a3a22b5f..4725882f 100644 --- a/BinaryObjectScanner/Protection/SecuROM.cs +++ b/BinaryObjectScanner/Protection/SecuROM.cs @@ -205,7 +205,7 @@ namespace BinaryObjectScanner.Protection byte[] subSubVersion = new byte[2]; subSubVersion[0] = (byte)(fileContent[index] ^ 42); index++; - subSubVersion[0] = (byte)(fileContent[index] ^ 8); + subSubVersion[1] = (byte)(fileContent[index] ^ 8); index += 2; byte[] subSubSubVersion = new byte[4];