Added Info log entries when loading systems without gamelist.xml files.

This commit is contained in:
Leon Styhre 2021-02-08 20:59:10 +01:00
parent 021399c42d
commit b55ae5faeb

View file

@ -88,8 +88,11 @@ void parseGamelist(SystemData* system)
bool trustGamelist = Settings::getInstance()->getBool("ParseGamelistOnly");
std::string xmlpath = system->getGamelistPath(false);
if (!Utils::FileSystem::exists(xmlpath))
if (!Utils::FileSystem::exists(xmlpath)) {
LOG(LogInfo) << "Loading system \"" << system->getName() <<
"\" which does not have a gamelist.xml file...";
return;
}
LOG(LogInfo) << "Parsing gamelist file \"" << xmlpath << "\"...";