mirror of
https://github.com/ladislav-zezula/StormLib.git
synced 2026-01-28 18:21:32 +01:00
Added support for amternative MPQ markers
This commit is contained in:
@@ -592,7 +592,7 @@ static DWORD VerifyFile(
|
||||
dwVerifyResult |= VERIFY_FILE_HAS_RAW_MD5;
|
||||
|
||||
// Find file entry for the file
|
||||
pFileEntry = GetFileEntryLocale(ha, szFileName, lcFileLocale);
|
||||
pFileEntry = GetFileEntryLocale(ha, szFileName, g_lcFileLocale);
|
||||
if(pFileEntry != NULL)
|
||||
{
|
||||
// If the file's raw MD5 doesn't match, don't bother with more checks
|
||||
@@ -964,7 +964,7 @@ int WINAPI SFileVerifyRawData(HANDLE hMpq, DWORD dwWhatToVerify, const char * sz
|
||||
return ERROR_INVALID_PARAMETER;
|
||||
|
||||
// Get the offset of a file
|
||||
pFileEntry = GetFileEntryLocale(ha, szFileName, lcFileLocale);
|
||||
pFileEntry = GetFileEntryLocale(ha, szFileName, g_lcFileLocale);
|
||||
if(pFileEntry == NULL)
|
||||
return ERROR_FILE_NOT_FOUND;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user