aboutsummaryrefslogtreecommitdiff
path: root/backends/dc
diff options
context:
space:
mode:
authorMarcus Comstedt2003-12-21 16:01:52 +0000
committerMarcus Comstedt2003-12-21 16:01:52 +0000
commit38bb448d7010bf53a1e24304999cc9f56423bdd8 (patch)
tree62875e97e337cda1572fc285c15a66abdef8e70e /backends/dc
parent7757d7accfa5436b0732dd0dffd5d8dd04ca0c15 (diff)
downloadscummvm-rg350-38bb448d7010bf53a1e24304999cc9f56423bdd8.tar.gz
scummvm-rg350-38bb448d7010bf53a1e24304999cc9f56423bdd8.tar.bz2
scummvm-rg350-38bb448d7010bf53a1e24304999cc9f56423bdd8.zip
Renames.
svn-id: r11818
Diffstat (limited to 'backends/dc')
-rw-r--r--backends/dc/selector.cpp6
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)