aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 268092fc99..f24f51a642 100644
--- a/backends/dc/selector.cpp
+++ b/backends/dc/selector.cpp
@@ -229,7 +229,7 @@ static int findGames(Game *games, int max)
for(DetectedGameList::const_iterator ge = candidates.begin();
ge != candidates.end(); ++ge)
if(curr_game < max) {
- strcpy(games[curr_game].filename_base, ge->name);
+ strcpy(games[curr_game].filename_base, ge->gameid);
strcpy(games[curr_game].dir, dirs[curr_dir-1].name);
if(uniqueGame(games[curr_game].filename_base,
games[curr_game].dir, games, curr_game)) {