From b0293419e1279270f25e1839bfbebc2e62e09388 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Thu, 17 Mar 2022 12:16:41 -0700 Subject: [PATCH] Add note to Tages for future research --- BurnOutSharp/ProtectionType/Tages.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/BurnOutSharp/ProtectionType/Tages.cs b/BurnOutSharp/ProtectionType/Tages.cs index 52284274..79b89833 100644 --- a/BurnOutSharp/ProtectionType/Tages.cs +++ b/BurnOutSharp/ProtectionType/Tages.cs @@ -195,7 +195,11 @@ namespace BurnOutSharp.ProtectionType public static string GetVersion(string file, byte[] fileContent, List positions) { - switch (fileContent[positions[0] + 7]) + // TODO: Determine difference between API and BASIC + byte typeByte = fileContent[positions[0] + 6]; + byte versionByte = fileContent[positions[0] + 7]; + + switch (versionByte) { case 0x1E: return "5.2";