From 6713d0f7a572c05f3f86d61056ab7f090bc71d0b Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sun, 7 Feb 2021 12:24:22 +0100 Subject: [PATCH] Small cosmetic log output change when an unsupported platform has been entered into es_systems.cfg. --- es-app/src/SystemData.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/es-app/src/SystemData.cpp b/es-app/src/SystemData.cpp index b63c2c8bd..34848d0fa 100644 --- a/es-app/src/SystemData.cpp +++ b/es-app/src/SystemData.cpp @@ -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); }