diff options
author | Ladislav Zezula <ladislav.zezula@avast.com> | 2022-02-13 07:40:22 +0100 |
---|---|---|
committer | Ladislav Zezula <ladislav.zezula@avast.com> | 2022-02-13 07:40:22 +0100 |
commit | 503ab19d3d4253fb013752572c19c314d19de792 (patch) | |
tree | b1f026437af9411ffd216e5406bfec4cd899e75a /src/StormCommon.h | |
parent | 6a107601c628ec15b5d7947d6f51d00d709b0e7a (diff) |
SFileAddListFile optimized for protectors that set too large hash table
Diffstat (limited to 'src/StormCommon.h')
-rw-r--r-- | src/StormCommon.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StormCommon.h b/src/StormCommon.h index f452112..865d975 100644 --- a/src/StormCommon.h +++ b/src/StormCommon.h @@ -318,7 +318,7 @@ int SCompDecompressMpk(void * pvOutBuffer, int * pcbOutBuffer, void * pvInBuffer TMPQFile * CreateFileHandle(TMPQArchive * ha, TFileEntry * pFileEntry);
TMPQFile * CreateWritableHandle(TMPQArchive * ha, DWORD dwFileSize);
-void * LoadMpqTable(TMPQArchive * ha, ULONGLONG ByteOffset, LPBYTE pbTableHash, DWORD dwCompressedSize, DWORD dwRealSize, DWORD dwKey, bool * pbTableIsCut);
+void * LoadMpqTable(TMPQArchive * ha, ULONGLONG ByteOffset, LPBYTE pbTableHash, DWORD dwCompressedSize, DWORD dwRealSize, DWORD dwKey, DWORD * PtrRealTableSize);
DWORD AllocateSectorBuffer(TMPQFile * hf);
DWORD AllocatePatchInfo(TMPQFile * hf, bool bLoadFromFile);
DWORD AllocateSectorOffsets(TMPQFile * hf, bool bLoadFromFile);
|