From 619a9c98772ae23fd15091a8cfe2df00c3d2cd14 Mon Sep 17 00:00:00 2001 From: Goldberguser Date: Fri, 12 Jun 2020 13:48:26 +0200 Subject: [PATCH] Implement old version of GetItemInstallInfo --- dll/steam_ugc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dll/steam_ugc.h b/dll/steam_ugc.h index 13a2c601..97bc9976 100644 --- a/dll/steam_ugc.h +++ b/dll/steam_ugc.h @@ -712,10 +712,10 @@ bool GetItemDownloadInfo( PublishedFileId_t nPublishedFileID, uint64 *punBytesDo return false; } -bool GetItemInstallInfo( PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, bool *pbLegacyItem ) // returns true if item is installed +bool GetItemInstallInfo( PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, STEAM_OUT_STRING_COUNT( cchFolderSize ) char *pchFolder, uint32 cchFolderSize, bool *pbLegacyItem ) // returns true if item is installed { PRINT_DEBUG("Steam_UGC::GetItemInstallInfo old\n"); - return false; + return GetItemInstallInfo(nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, (uint32*) nullptr); } bool GetItemUpdateInfo( PublishedFileId_t nPublishedFileID, bool *pbNeedsUpdate, bool *pbIsDownloading, uint64 *punBytesDownloaded, uint64 *punBytesTotal )