diff options
author | Max Horn | 2006-05-09 21:55:29 +0000 |
---|---|---|
committer | Max Horn | 2006-05-09 21:55:29 +0000 |
commit | d5739c29fdbdd65832c9ddf2ccdf63cffc9d885f (patch) | |
tree | 9c7bdd2ff5c2b4c35b03bb89b73a21f3684314cd | |
parent | d2546e397934da3e89fdd994e0c620dd0bcfbcd4 (diff) | |
download | scummvm-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.cpp | 3 |
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()) { |