mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +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;
|
||||
}
|
||||
|
||||
// If there appears to be an actual platform ID supplied
|
||||
// but it didn't match the list, generate a warning.
|
||||
// If there's a platform entry defined but it does not match the list of supported
|
||||
// platforms, then generate a warning.
|
||||
if (str != "" && platformId == PlatformIds::PLATFORM_UNKNOWN)
|
||||
LOG(LogWarning) << "Unknown platform for system \"" << name <<
|
||||
"\" (platform \"" << str << "\" from list \"" << platformList << "\")";
|
||||
LOG(LogWarning) << "Unknown platform \"" << str << "\" defined for system \"" <<
|
||||
name << "\"";
|
||||
else if (platformId != PlatformIds::PLATFORM_UNKNOWN)
|
||||
platformIds.push_back(platformId);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue