From ceef80167cf4c9b51c491a02b2a99a6353ca27c5 Mon Sep 17 00:00:00 2001 From: Sude Date: Wed, 12 Aug 2015 17:01:15 +0300 Subject: [PATCH] Add support to ignore dlc count using game specific config with --list --- src/downloader.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/downloader.cpp b/src/downloader.cpp index 679f6ac..279e32c 100644 --- a/src/downloader.cpp +++ b/src/downloader.cpp @@ -2194,6 +2194,16 @@ std::vector Downloader::getGames() } } + // Check game specific config + if (!config.bUpdateCache) // Disable game specific config files for cache update + { + gameSpecificConfig conf; + conf.bIgnoreDLCCount = false; // Assume false + Util::getGameSpecificConfig(game.name, &conf); + if (conf.bIgnoreDLCCount) + bDownloadDLCInfo = true; + } + if (bDownloadDLCInfo && !config.sGameRegex.empty()) { // don't download unnecessary info if user is only interested in a subset of his account