mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
Two small cosmetic changes related to the alternative emulators logic.
This commit is contained in:
parent
b04825976e
commit
1ad55cdcec
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue