aboutsummaryrefslogtreecommitdiff
path: root/backends/dc
diff options
context:
space:
mode:
authorMax Horn2004-11-26 21:14:51 +0000
committerMax Horn2004-11-26 21:14:51 +0000
commit57f8ae73ce61e281414e5cc4d20dc4986f60c374 (patch)
tree9eb7876dfa51dbfa82ed98ae5706226a4679274f /backends/dc
parenta0c4e81d74616147d3a5f4eed29ad47b753e2578 (diff)
downloadscummvm-rg350-57f8ae73ce61e281414e5cc4d20dc4986f60c374.tar.gz
scummvm-rg350-57f8ae73ce61e281414e5cc4d20dc4986f60c374.tar.bz2
scummvm-rg350-57f8ae73ce61e281414e5cc4d20dc4986f60c374.zip
Another one...
svn-id: r15898
Diffstat (limited to 'backends/dc')
-rw-r--r--backends/dc/selector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/dc/selector.cpp b/backends/dc/selector.cpp
index 92cce1ea69..76b5f26fb9 100644
--- a/backends/dc/selector.cpp
+++ b/backends/dc/selector.cpp
@@ -226,7 +226,7 @@ static int findGames(Game *games, int max)
{
Dir *dirs = new Dir[MAX_DIR];
int curr_game = 0, curr_dir = 0, num_dirs = 1;
- dirs[0].node = FilesystemNode::getRoot();
+ dirs[0].node = FilesystemNode();
while(curr_game < max && curr_dir < num_dirs) {
strncpy(dirs[curr_dir].name, dirs[curr_dir].node.path().c_str(), 252);
dirs[curr_dir].name[251] = '\0';