aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2006-05-09 21:55:29 +0000
committerMax Horn2006-05-09 21:55:29 +0000
commitd5739c29fdbdd65832c9ddf2ccdf63cffc9d885f (patch)
tree9c7bdd2ff5c2b4c35b03bb89b73a21f3684314cd
parentd2546e397934da3e89fdd994e0c620dd0bcfbcd4 (diff)
downloadscummvm-rg350-d5739c29fdbdd65832c9ddf2ccdf63cffc9d885f.tar.gz
scummvm-rg350-d5739c29fdbdd65832c9ddf2ccdf63cffc9d885f.tar.bz2
scummvm-rg350-d5739c29fdbdd65832c9ddf2ccdf63cffc9d885f.zip
Attempted fix for bug #1484881
svn-id: r22398
-rw-r--r--backends/dc/selector.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/dc/selector.cpp b/backends/dc/selector.cpp
index ade5cb9fc4..b9b31d9ec8 100644
--- a/backends/dc/selector.cpp
+++ b/backends/dc/selector.cpp
@@ -207,7 +207,8 @@ static int findGames(Game *games, int max)
strncpy(dirs[curr_dir].name, dirs[curr_dir].node.path().c_str(), 252);
dirs[curr_dir].name[251] = '\0';
dirs[curr_dir].deficon[0] = '\0';
- FSList files, fslist = dirs[curr_dir++].node.listDir(FilesystemNode::kListAll);
+ FSList files, fslist;
+ dirs[curr_dir++].node.listDir(fslist, FilesystemNode::kListAll);
for (FSList::const_iterator entry = fslist.begin(); entry != fslist.end();
++entry) {
if (entry->isDirectory()) {