From 106416c857ad1b29a20ef821cc3c1e8b91b2d034 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Mon, 28 May 2018 18:55:47 +0200 Subject: DC: Fix the build after the detection result rework --- backends/platform/dc/selector.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'backends') 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) -- cgit v1.2.3