aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/launcher.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp
index a3a4d62ca7..322a7fd839 100644
--- a/gui/launcher.cpp
+++ b/gui/launcher.cpp
@@ -98,7 +98,7 @@ EditGameDialog::EditGameDialog(NewGui *gui, const String &domain, const GameSett
// Determine the description string
String description(ConfMan.get("description", domain));
- if (description.isEmpty()) {
+ if (description.isEmpty() && target) {
description = target->description;
}
@@ -284,7 +284,7 @@ GameList findGame(FilesystemNode *dir) {
const PluginList &plugins = PluginManager::instance().getPlugins();
int p;
for (p = 0; p < plugins.size(); p++) {
- const GameSettings *v = plugins[p]->getTargets();
+ const GameSettings *v = plugins[p]->getSupportedGames();
while (v->gameName && v->description) {
// Determine the 'detectname' for this game, that is, the name of a