diff options
author | Marcus Comstedt | 2006-06-03 15:18:21 +0000 |
---|---|---|
committer | Marcus Comstedt | 2006-06-03 15:18:21 +0000 |
commit | c42e5813af470c210e87660cc0e088be3139898c (patch) | |
tree | 2a85f6f84c7eac19fcfa828a41868976ae89c76a /backends/dc | |
parent | 369e79bfba0fabc743b25a476737147f994c8d4e (diff) | |
download | scummvm-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/dc')
-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 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'; |