aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorBastien Bouclet2017-12-03 12:19:08 +0100
committerBastien Bouclet2018-05-10 09:04:23 +0200
commit5aff87dc153f392cb14423efa78a96397789a6fd (patch)
tree66c2fd4a14f4f9a8668499b17e3630f49809f297 /engines/scumm
parent643c24db75797728087999abd8acf1ecc83757fa (diff)
downloadscummvm-rg350-5aff87dc153f392cb14423efa78a96397789a6fd.tar.gz
scummvm-rg350-5aff87dc153f392cb14423efa78a96397789a6fd.tar.bz2
scummvm-rg350-5aff87dc153f392cb14423efa78a96397789a6fd.zip
ENGINES: Turn GameDescriptor into a simple struct
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp
index 6276f1ae41..dea0d3a026 100644
--- a/engines/scumm/detection.cpp
+++ b/engines/scumm/detection.cpp
@@ -1044,7 +1044,7 @@ DetectedGames ScummMetaEngine::detectGames(const Common::FSList &fslist) const {
// Compute and set the preferred target name for this game.
// Based on generateComplexID() in advancedDetector.cpp.
- game.matchedGame["preferredtarget"] = generatePreferredTarget(*x);
+ game.matchedGame.preferredTarget = generatePreferredTarget(*x);
game.matchedGame.setGUIOptions(x->game.guioptions + MidiDriver::musicType2GUIO(x->game.midi));
game.matchedGame.appendGUIOptions(getGameGUIOptionsDescriptionLanguage(x->language));