From 1ad55cdcec114c7a506bf5964ebfe73cbcdaf928 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sun, 5 Sep 2021 17:29:51 +0200 Subject: [PATCH] Two small cosmetic changes related to the alternative emulators logic. --- es-app/src/FileData.cpp | 3 ++- es-app/src/guis/GuiAlternativeEmulators.cpp | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/es-app/src/FileData.cpp b/es-app/src/FileData.cpp index 81697d936..897992cbf 100644 --- a/es-app/src/FileData.cpp +++ b/es-app/src/FileData.cpp @@ -761,7 +761,8 @@ void FileData::launchGame(Window* window) } else { LOG(LogDebug) << "FileData::launchGame(): Using alternative emulator \"" - << metadata.get("altemulator") << "\" as configured for the game"; + << metadata.get("altemulator") + << "\" as configured for the specific game"; } } diff --git a/es-app/src/guis/GuiAlternativeEmulators.cpp b/es-app/src/guis/GuiAlternativeEmulators.cpp index a3fcd0e59..3b36d1972 100644 --- a/es-app/src/guis/GuiAlternativeEmulators.cpp +++ b/es-app/src/guis/GuiAlternativeEmulators.cpp @@ -95,7 +95,7 @@ GuiAlternativeEmulators::GuiAlternativeEmulators(Window* window) row.addElement(labelText, false); row.makeAcceptInputHandler([this, it, labelText] { - if (labelText->getValue() == "") + if (labelText->getValue() == "") return; selectorWindow(*it); }); @@ -175,7 +175,7 @@ void GuiAlternativeEmulators::selectorWindow(SystemData* system) if (entry.second == system->getSystemEnvData()->mLaunchCommands.front().second) { if (system->getSystemEnvData()->mLaunchCommands.front().second == "") { - updateMenu(system->getName(), "", + updateMenu(system->getName(), "", (entry.second == system->getSystemEnvData()->mLaunchCommands.front().second)); }