From d2f78184af00cd91f3f1f251199a436b53f4ae64 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 9 Mar 2006 01:42:56 +0000 Subject: - added new toDetectedGame() template function (analog to toGameSettings) - made use of the new DetectedGame constructor from my last commit - some related cleanup svn-id: r21149 --- engines/sword2/sword2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sword2') diff --git a/engines/sword2/sword2.cpp b/engines/sword2/sword2.cpp index e3e7d25bde..a8c9c635e5 100644 --- a/engines/sword2/sword2.cpp +++ b/engines/sword2/sword2.cpp @@ -99,7 +99,7 @@ DetectedGameList Engine_SWORD2_detectGames(const FSList &fslist) { if (0 == scumm_stricmp(g->detectname, gameName)) { // Match found, add to list of candidates, then abort inner loop. - detectedGames.push_back(toGameSettings(*g)); + detectedGames.push_back(toDetectedGame(*g)); break; } } -- cgit v1.2.3