aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/platform/dc/selector.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/platform/dc/selector.cpp b/backends/platform/dc/selector.cpp
index 3192f3e8cf..914d683334 100644
--- a/backends/platform/dc/selector.cpp
+++ b/backends/platform/dc/selector.cpp
@@ -271,7 +271,8 @@ static int findGames(Game *games, int max, bool use_ini)
}
if (!use_ini) {
- DetectedGames candidates = EngineMan.detectGames(files);
+ DetectionResults detectionResults = EngineMan.detectGames(files);
+ DetectedGames candidates = detectionResults.listRecognizedGames();
for (DetectedGames::const_iterator ge = candidates.begin();
ge != candidates.end(); ++ge)