diff options
Diffstat (limited to 'backends')
-rw-r--r-- | backends/dc/selector.cpp | 2 |
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'; |