diff options
Diffstat (limited to 'engines/sky/detection.cpp')
-rw-r--r-- | engines/sky/detection.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/engines/sky/detection.cpp b/engines/sky/detection.cpp index b8abd6bcb5..6beaf02fdc 100644 --- a/engines/sky/detection.cpp +++ b/engines/sky/detection.cpp @@ -182,18 +182,16 @@ DetectedGames SkyMetaEngine::detectGames(const Common::FSList &fslist) const { ++sv; } - DetectedGame game; if (sv->dinnerTableEntries) { Common::String extra = Common::String::format("v0.0%d %s", sv->version, sv->extraDesc); - game.matchedGame = GameDescriptor(skySetting.gameId, skySetting.description, Common::UNK_LANG, Common::kPlatformUnknown, extra); - game.matchedGame.setGUIOptions(sv->guioptions); + DetectedGame game = DetectedGame(skySetting.gameId, skySetting.description, Common::UNK_LANG, Common::kPlatformUnknown, extra); + game.setGUIOptions(sv->guioptions); + detectedGames.push_back(game); } else { - game.matchedGame = GameDescriptor(skySetting.gameId, skySetting.description); + detectedGames.push_back(DetectedGame(skySetting.gameId, skySetting.description)); } - - detectedGames.push_back(game); } return detectedGames; |