+ Defragmenting file table fixed

This commit is contained in:
unknown
2015-04-21 19:36:13 +02:00
parent 68e2c2527d
commit 5747ad4910
8 changed files with 87 additions and 97 deletions

View File

@@ -376,7 +376,7 @@ bool WINAPI SFileGetFileInfo(
if(ha != NULL && ha->pHashTable != NULL)
{
pvSrcFileInfo = ha->pHashTable;
cbSrcFileInfo = ha->pHeader->dwHashTableSize * sizeof(TMPQHash);
cbSrcFileInfo = ha->dwHashTableSize * sizeof(TMPQHash);
nInfoType = SFILE_INFO_TYPE_DIRECT_POINTER;
}
break;