diff options
author | Ladislav Zezula <zezula@volny.cz> | 2025-09-15 15:15:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-15 15:15:33 +0200 |
commit | d1aef907ffd8ea6f6ce04c5495b1cd350afc932a (patch) | |
tree | d7648d47f2f735e9b181919b77eb0e2c30d2a551 /src/StormLib.h | |
parent | 249b1c0490af45965ac5e75e138b80b8699da665 (diff) | |
parent | 49b619bae28ba5fcb63c192ef14a9b624e2a7286 (diff) |
Fixed https://github.com/ladislav-zezula/StormLib/issues/397 and http…
Diffstat (limited to 'src/StormLib.h')
-rw-r--r-- | src/StormLib.h | 1 |
1 files changed, 1 insertions, 0 deletions
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) |