mirror of
https://github.com/ladislav-zezula/StormLib.git
synced 2026-01-20 14:47:22 +01:00
+ By "2 GB", I really mean 2 GB.
This commit is contained in:
@@ -600,7 +600,7 @@ static bool IsValidHashEntry1(TMPQArchive * ha, TMPQHash * pHash, TMPQBlock * pB
|
||||
|
||||
// Check whether this is an existing file
|
||||
// Also we do not allow to be file size greater than 2GB
|
||||
if((pBlock->dwFlags & MPQ_FILE_EXISTS) && (pBlock->dwFSize & 0x8000000) == 0)
|
||||
if((pBlock->dwFlags & MPQ_FILE_EXISTS) && (pBlock->dwFSize & 0x80000000) == 0)
|
||||
{
|
||||
// The begin of the file must be within the archive
|
||||
ByteOffset = FileOffsetFromMpqOffset(ha, pBlock->dwFilePos);
|
||||
|
||||
Reference in New Issue
Block a user