From f473fb6a5db14f359fbcd747b30e357cb86e5b62 Mon Sep 17 00:00:00 2001 From: dexy Date: Wed, 13 Dec 2023 09:17:43 +1100 Subject: [PATCH] Fix for GTAV exe update --- CodeWalker.Core/GameFiles/Utils/GTAKeys.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CodeWalker.Core/GameFiles/Utils/GTAKeys.cs b/CodeWalker.Core/GameFiles/Utils/GTAKeys.cs index 7a3c1b9..0c8bd5b 100644 --- a/CodeWalker.Core/GameFiles/Utils/GTAKeys.cs +++ b/CodeWalker.Core/GameFiles/Utils/GTAKeys.cs @@ -739,7 +739,7 @@ namespace CodeWalker.GameFiles public static class HashSearch { private const long BLOCK_LENGTH = 1048576; - private const long ALIGN_LENGTH = 16; + private const long ALIGN_LENGTH = 8; public static byte[] SearchHash(Stream stream, byte[] hash, int length = 32) {