From 25d53b65426404c89adda5b8dfb16af7f035a6fd Mon Sep 17 00:00:00 2001 From: Mr_Goldberg Date: Sun, 14 Jun 2020 16:17:33 -0400 Subject: [PATCH] Might as well implement the other version of GetItemInstallInfo too. --- 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 97bc9976..bd6ac15b 100644 --- a/dll/steam_ugc.h +++ b/dll/steam_ugc.h @@ -671,7 +671,7 @@ uint32 GetSubscribedItems( PublishedFileId_t* pvecPublishedFileID, uint32 cMaxEn // get EItemState flags about item on this client uint32 GetItemState( PublishedFileId_t nPublishedFileID ) { - PRINT_DEBUG("Steam_UGC::GetItemState\n"); + PRINT_DEBUG("Steam_UGC::GetItemState %llu\n", nPublishedFileID); std::lock_guard lock(global_mutex); if (subscribed.count(nPublishedFileID)) { if (settings->isModInstalled(nPublishedFileID)) { @@ -727,7 +727,7 @@ bool GetItemUpdateInfo( PublishedFileId_t nPublishedFileID, bool *pbNeedsUpdate, bool GetItemInstallInfo( PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize ) // returns true if item is installed { PRINT_DEBUG("Steam_UGC::GetItemInstallInfo older\n"); - return false; + return GetItemInstallInfo(nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, (uint32*) nullptr); }