mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-26 16:15:39 +00:00
Small cosmetic log output change when an unsupported platform has been entered into es_systems.cfg.
This commit is contained in:
parent
9c2d582f7d
commit
6713d0f7a5
|
@ -306,11 +306,11 @@ bool SystemData::loadConfig()
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// If there appears to be an actual platform ID supplied
|
// If there's a platform entry defined but it does not match the list of supported
|
||||||
// but it didn't match the list, generate a warning.
|
// platforms, then generate a warning.
|
||||||
if (str != "" && platformId == PlatformIds::PLATFORM_UNKNOWN)
|
if (str != "" && platformId == PlatformIds::PLATFORM_UNKNOWN)
|
||||||
LOG(LogWarning) << "Unknown platform for system \"" << name <<
|
LOG(LogWarning) << "Unknown platform \"" << str << "\" defined for system \"" <<
|
||||||
"\" (platform \"" << str << "\" from list \"" << platformList << "\")";
|
name << "\"";
|
||||||
else if (platformId != PlatformIds::PLATFORM_UNKNOWN)
|
else if (platformId != PlatformIds::PLATFORM_UNKNOWN)
|
||||||
platformIds.push_back(platformId);
|
platformIds.push_back(platformId);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue