From c42e5813af470c210e87660cc0e088be3139898c Mon Sep 17 00:00:00 2001 From: Marcus Comstedt Date: Sat, 3 Jun 2006 15:18:21 +0000 Subject: FilesystemNode() does not create a valid node anymore, specify a path... svn-id: r22889 --- backends/dc/selector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; -- cgit v1.2.3