aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorBastien Bouclet2018-05-28 18:55:47 +0200
committerBastien Bouclet2018-05-28 18:55:47 +0200
commit106416c857ad1b29a20ef821cc3c1e8b91b2d034 (patch)
tree2a9ccc302992f5ed9d19a9a3137e9d83f964157d /backends
parent2686b37e940ed73e002a1a8e167a20c5c655487e (diff)
downloadscummvm-rg350-106416c857ad1b29a20ef821cc3c1e8b91b2d034.tar.gz
scummvm-rg350-106416c857ad1b29a20ef821cc3c1e8b91b2d034.tar.bz2
scummvm-rg350-106416c857ad1b29a20ef821cc3c1e8b91b2d034.zip
DC: Fix the build after the detection result rework
Diffstat (limited to 'backends')
-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)