From 47ce54ec174c1b035018874695f3158c08fcd4ff Mon Sep 17 00:00:00 2001 From: 1987kostya Date: Thu, 10 Dec 2020 00:10:59 +0600 Subject: [PATCH] Build check in decrypter --- NetMFAPatcher/Utils/Decryption.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NetMFAPatcher/Utils/Decryption.cs b/NetMFAPatcher/Utils/Decryption.cs index 95279a1..2784cac 100644 --- a/NetMFAPatcher/Utils/Decryption.cs +++ b/NetMFAPatcher/Utils/Decryption.cs @@ -50,7 +50,7 @@ namespace DotNetCTFDumper.Utils uint decompressedSize = reader.ReadUInt32(); byte[] rawData = reader.ReadBytes((int) reader.Size()); - if ((chunkId & 1) == 1) + if ((chunkId & 1) == 1&&Settings.Build>284) { rawData[0] ^= (byte) ((byte) (chunkId & 0xFF) ^ (byte) (chunkId >> 0x8)); }