From 49b619bae28ba5fcb63c192ef14a9b624e2a7286 Mon Sep 17 00:00:00 2001 From: Ladislav Zezula Date: Mon, 15 Sep 2025 15:09:30 +0200 Subject: Fixed https://github.com/ladislav-zezula/StormLib/issues/397 and https://github.com/ladislav-zezula/StormLib/issues/398 --- src/StormLib.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/StormLib.h') diff --git a/src/StormLib.h b/src/StormLib.h index e1db062..1f3dee7 100644 --- a/src/StormLib.h +++ b/src/StormLib.h @@ -292,6 +292,7 @@ extern "C" { // Signatures for HET and BET table #define HET_TABLE_SIGNATURE 0x1A544548 // 'HET\x1a' #define BET_TABLE_SIGNATURE 0x1A544542 // 'BET\x1a' +#define BET_TABLE_MAX_SIZE 0x00100000 // Maximum acceptable size of HET&BET tables // Decryption keys for MPQ tables #define MPQ_KEY_HASH_TABLE 0xC3AF3770 // Obtained by HashString("(hash table)", MPQ_HASH_FILE_KEY) -- cgit v1.2.3