aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorMarcus Comstedt2006-06-03 15:18:21 +0000
committerMarcus Comstedt2006-06-03 15:18:21 +0000
commitc42e5813af470c210e87660cc0e088be3139898c (patch)
tree2a85f6f84c7eac19fcfa828a41868976ae89c76a /backends
parent369e79bfba0fabc743b25a476737147f994c8d4e (diff)
downloadscummvm-rg350-c42e5813af470c210e87660cc0e088be3139898c.tar.gz
scummvm-rg350-c42e5813af470c210e87660cc0e088be3139898c.tar.bz2
scummvm-rg350-c42e5813af470c210e87660cc0e088be3139898c.zip
FilesystemNode() does not create a valid node anymore, specify a path...
svn-id: r22889
Diffstat (limited to 'backends')
-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 b9b31d9ec8..7bfe674380 100644
--- a/backends/dc/selector.cpp
+++ b/backends/dc/selector.cpp
@@ -202,7 +202,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();
+ 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';