summaryrefslogtreecommitdiff
path: root/test/StormTest.cpp
diff options
context:
space:
mode:
authorLadislav Zezula <ladislav.zezula@avast.com>2021-12-21 11:41:04 +0100
committerLadislav Zezula <ladislav.zezula@avast.com>2021-12-21 11:41:04 +0100
commit99d589b43e9b0e9ff39f939ea7caa4bb813161c9 (patch)
treef67316cbc1473f92de860f7ef92b6c09f9a35318 /test/StormTest.cpp
parent5b525e28e42523b8e3d61b1cbc047c44daf9ea27 (diff)
Finalizing
Diffstat (limited to 'test/StormTest.cpp')
-rw-r--r--test/StormTest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/StormTest.cpp b/test/StormTest.cpp
index c7e8778..2700bf1 100644
--- a/test/StormTest.cpp
+++ b/test/StormTest.cpp
@@ -1532,8 +1532,8 @@ static TFileData * LoadMpqFile(TLogHelper * pLogger, HANDLE hMpq, LPCSTR szFileN
// Load the entire file
if(dwErrCode == ERROR_SUCCESS)
{
- if(!_stricmp(szFileName, "File00000687.xxx"))
- __debugbreak();
+ //if(!_stricmp(szFileName, "File00000687.xxx"))
+ // __debugbreak();
// Read the file data
SFileReadFile(hFile, pFileData->FileData, dwFileSizeLo, &dwBytesRead, NULL);
@@ -1666,8 +1666,8 @@ static DWORD SearchArchive(
}
// Debug: Show CRC32 of each file in order to debug differences
- pFileData->dwCrc32 = crc32(0, pFileData->FileData, pFileData->dwFileSize);
- printf("%08x: %s \n", pFileData->dwCrc32, sf.cFileName);
+ //pFileData->dwCrc32 = crc32(0, pFileData->FileData, pFileData->dwFileSize);
+ //printf("%08x: %s \n", pFileData->dwCrc32, sf.cFileName);
// Free the loaded file data
STORM_FREE(pFileData);