diff options
author | Max Horn | 2006-05-12 20:55:53 +0000 |
---|---|---|
committer | Max Horn | 2006-05-12 20:55:53 +0000 |
commit | b5556c50fed0dcae072a2f68ab8b572b9dc6b2cb (patch) | |
tree | 951c69e7d3835005380ce8df77e041bf7742892d /backends/wince/CELauncherDialog.cpp | |
parent | 860073c45ac9c6d47b9a9349f0fbdb520a44fd8c (diff) | |
download | scummvm-rg350-b5556c50fed0dcae072a2f68ab8b572b9dc6b2cb.tar.gz scummvm-rg350-b5556c50fed0dcae072a2f68ab8b572b9dc6b2cb.tar.bz2 scummvm-rg350-b5556c50fed0dcae072a2f68ab8b572b9dc6b2cb.zip |
Updated WinCE backend to the new form of FilesystemNode::listDir
svn-id: r22419
Diffstat (limited to 'backends/wince/CELauncherDialog.cpp')
-rw-r--r-- | backends/wince/CELauncherDialog.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/backends/wince/CELauncherDialog.cpp b/backends/wince/CELauncherDialog.cpp index 243b5e5ea3..99bb82e47e 100644 --- a/backends/wince/CELauncherDialog.cpp +++ b/backends/wince/CELauncherDialog.cpp @@ -145,11 +145,13 @@ void CELauncherDialog::addCandidate(String &path, DetectedGameList &candidates) void CELauncherDialog::automaticScanDirectory(const FilesystemNode &node) { // First check if we have a recognized game in the current directory - FSList files = node.listDir(FilesystemNode::kListFilesOnly); + FSList files; + node.listDir(files, FilesystemNode::kListFilesOnly); DetectedGameList candidates(PluginManager::instance().detectGames(files)); addCandidate(node.path(), candidates); // Then recurse on the subdirectories - FSList dirs = node.listDir(FilesystemNode::kListDirectoriesOnly); + FSList dirs; + node.listDir(dirs, FilesystemNode::kListDirectoriesOnly); for (FSList::const_iterator currentDir = dirs.begin(); currentDir != dirs.end(); ++currentDir) automaticScanDirectory(*currentDir); |