From b5556c50fed0dcae072a2f68ab8b572b9dc6b2cb Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 12 May 2006 20:55:53 +0000 Subject: Updated WinCE backend to the new form of FilesystemNode::listDir svn-id: r22419 --- backends/wince/CELauncherDialog.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'backends') 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); -- cgit v1.2.3