diff options
Diffstat (limited to 'backends/dc/selector.cpp')
-rw-r--r-- | backends/dc/selector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/dc/selector.cpp b/backends/dc/selector.cpp index 6ac974f97c..bd9086431d 100644 --- a/backends/dc/selector.cpp +++ b/backends/dc/selector.cpp @@ -230,12 +230,12 @@ 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->gameid); + strcpy(games[curr_game].filename_base, ge->gameid.c_str()); strcpy(games[curr_game].dir, dirs[curr_dir-1].name); if(uniqueGame(games[curr_game].filename_base, games[curr_game].dir, games, curr_game)) { - strcpy(games[curr_game].text, ge->description); + strcpy(games[curr_game].text, ge->description.c_str()); #if 0 printf("Registered game <%s> in <%s> <%s> because of <%s> <*>\n", games[curr_game].text, games[curr_game].dir, |