Add support to ignore dlc count using game specific config with --list

This commit is contained in:
Sude 2015-08-12 17:01:15 +03:00
parent 64cae133cf
commit ceef80167c

View File

@ -2194,6 +2194,16 @@ std::vector<gameItem> 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