From ebb20bbe5ebd18846022bb615448461a544dc3e2 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Fri, 27 Aug 2021 21:37:46 -0700 Subject: [PATCH] Fix overmatching on JoWooDX; add note --- BurnOutSharp/ProtectionType/JoWooDXProt.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/BurnOutSharp/ProtectionType/JoWooDXProt.cs b/BurnOutSharp/ProtectionType/JoWooDXProt.cs index 7aa54a51..9f0c45e0 100644 --- a/BurnOutSharp/ProtectionType/JoWooDXProt.cs +++ b/BurnOutSharp/ProtectionType/JoWooDXProt.cs @@ -30,8 +30,13 @@ namespace BurnOutSharp.ProtectionType }, }, GetVersion, "JoWooD X-Prot"), + // TODO: This is likely a section header name. When converting, check this + // It also likely goes along with the above. Not sure how yet + // .ext - new ContentMatchSet(new byte?[] { 0x2E, 0x65, 0x78, 0x74, 0x20, 0x20, 0x20, 0x20 }, "JoWooD X-Prot v1"), + new ContentMatchSet( + new ContentMatch(new byte?[] { 0x2E, 0x65, 0x78, 0x74, 0x20, 0x20, 0x20, 0x20 }, end: 2048), + "JoWooD X-Prot v1"), }; }