diff options
-rw-r--r-- | backends/dc/selector.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/dc/selector.cpp b/backends/dc/selector.cpp index 1a0818ff22..c6bd3817b4 100644 --- a/backends/dc/selector.cpp +++ b/backends/dc/selector.cpp @@ -152,7 +152,7 @@ static bool checkName(const char *base, char *text = 0) GameDetector g; GameSettings gs = g.findGame(base); - if (gs.gameName) { + if (gs.name) { if(text != NULL) strcpy(text, gs.description); return true; @@ -164,7 +164,7 @@ static const char *checkDetect(const FilesystemNode *entry) { FSList files; files.push_back(*entry); - GameList candidates; + DetectedGameList candidates; const PluginList &plugins = PluginManager::instance().getPlugins(); PluginList::ConstIterator iter = plugins.begin(); @@ -173,7 +173,7 @@ static const char *checkDetect(const FilesystemNode *entry) } if (candidates.isEmpty()) return NULL; - return candidates[0].gameName; + return candidates[0].name; } static bool isGame(const FilesystemNode *entry, char *base) |