Two small cosmetic changes related to the alternative emulators logic.

This commit is contained in:
Leon Styhre 2021-09-05 17:29:51 +02:00
parent b04825976e
commit 1ad55cdcec
2 changed files with 4 additions and 3 deletions

View file

@ -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";
}
}

View file

@ -95,7 +95,7 @@ GuiAlternativeEmulators::GuiAlternativeEmulators(Window* window)
row.addElement(labelText, false);
row.makeAcceptInputHandler([this, it, labelText] {
if (labelText->getValue() == "<REMOVED ENTRY>")
if (labelText->getValue() == "<CLEARED ENTRY>")
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(), "<REMOVED ENTRY>",
updateMenu(system->getName(), "<CLEARED ENTRY>",
(entry.second ==
system->getSystemEnvData()->mLaunchCommands.front().second));
}