aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorMarcus Comstedt2007-01-27 22:59:31 +0000
committerMarcus Comstedt2007-01-27 22:59:31 +0000
commit42593cb977562385218213384b27eade3bf2df03 (patch)
treec09667d1aa75414d6ab3dcd6e8acdeb4d96d2625 /backends
parenta9cd5f59b0350d8a0386763b99bd6790c7a0a140 (diff)
downloadscummvm-rg350-42593cb977562385218213384b27eade3bf2df03.tar.gz
scummvm-rg350-42593cb977562385218213384b27eade3bf2df03.tar.bz2
scummvm-rg350-42593cb977562385218213384b27eade3bf2df03.zip
DetectedGameList -> GameList.
svn-id: r25235
Diffstat (limited to 'backends')
-rw-r--r--backends/platform/dc/selector.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/backends/platform/dc/selector.cpp b/backends/platform/dc/selector.cpp
index b53a9c65f5..ac6b828105 100644
--- a/backends/platform/dc/selector.cpp
+++ b/backends/platform/dc/selector.cpp
@@ -147,7 +147,7 @@ struct Dir
static Game the_game;
-static void detectGames(FSList &files, DetectedGameList &candidates)
+static void detectGames(FSList &files, GameList &candidates)
{
const PluginList &plugins = PluginManager::instance().getPlugins();
PluginList::const_iterator iter = plugins.begin();
@@ -225,18 +225,18 @@ static int findGames(Game *games, int max)
files.push_back(*entry);
}
- DetectedGameList candidates;
+ GameList candidates;
detectGames(files, candidates);
- for(DetectedGameList::const_iterator ge = candidates.begin();
+ for(GameList::const_iterator ge = candidates.begin();
ge != candidates.end(); ++ge)
if(curr_game < max) {
- strcpy(games[curr_game].filename_base, ge->gameid.c_str());
+ strcpy(games[curr_game].filename_base, ge->gameid().c_str());
strcpy(games[curr_game].dir, dirs[curr_dir-1].name);
if(uniqueGame(games[curr_game].filename_base,
games[curr_game].dir, games, curr_game)) {
- strcpy(games[curr_game].text, ge->description.c_str());
+ strcpy(games[curr_game].text, ge->description().c_str());
#if 0
printf("Registered game <%s> in <%s> <%s> because of <%s> <*>\n",
games[curr_game].text, games[curr_game].dir,