diff options
author | Bastien Bouclet | 2017-12-24 11:01:38 +0100 |
---|---|---|
committer | Bastien Bouclet | 2018-05-10 09:04:23 +0200 |
commit | 1de5aca585af3e04a64a4f287dd348c0e7b4b967 (patch) | |
tree | 693f7ebcb7f6718dc0e09ec86922ff025be87359 /engines/sword2 | |
parent | 5aff87dc153f392cb14423efa78a96397789a6fd (diff) | |
download | scummvm-rg350-1de5aca585af3e04a64a4f287dd348c0e7b4b967.tar.gz scummvm-rg350-1de5aca585af3e04a64a4f287dd348c0e7b4b967.tar.bz2 scummvm-rg350-1de5aca585af3e04a64a4f287dd348c0e7b4b967.zip |
ENGINES: Set the GameDescriptor decription in the constructor
Diffstat (limited to 'engines/sword2')
-rw-r--r-- | engines/sword2/sword2.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sword2/sword2.cpp b/engines/sword2/sword2.cpp index 67f6904cbe..231074641e 100644 --- a/engines/sword2/sword2.cpp +++ b/engines/sword2/sword2.cpp @@ -193,7 +193,8 @@ DetectedGames detectGamesImpl(const Common::FSList &fslist, bool recursion = fal // Match found, add to list of candidates, then abort inner loop. DetectedGame game; - game.matchedGame = GameDescriptor(g->gameid, g->description, Common::UNK_LANG, Common::kPlatformUnknown, GUIO2(GUIO_NOMIDI, GUIO_NOASPECT)); + game.matchedGame = GameDescriptor(g->gameid, g->description); + game.matchedGame.setGUIOptions(GUIO2(GUIO_NOMIDI, GUIO_NOASPECT)); detectedGames.push_back(game); break; |