diff options
author | Max Horn | 2006-03-09 12:52:54 +0000 |
---|---|---|
committer | Max Horn | 2006-03-09 12:52:54 +0000 |
commit | 6b19677e1d15d7b4f8e1230642e1d1a1fee69907 (patch) | |
tree | c6cc49d3bc28c083ef251db5fa133438b4a412fd /engines/lure/lure.cpp | |
parent | 46ee5c8f26b8b53d0c7268a8328edea0b4134611 (diff) | |
download | scummvm-rg350-6b19677e1d15d7b4f8e1230642e1d1a1fee69907.tar.gz scummvm-rg350-6b19677e1d15d7b4f8e1230642e1d1a1fee69907.tar.bz2 scummvm-rg350-6b19677e1d15d7b4f8e1230642e1d1a1fee69907.zip |
Make use of DetectedGame::updateDesc in the kyra & lure engines
svn-id: r21167
Diffstat (limited to 'engines/lure/lure.cpp')
-rw-r--r-- | engines/lure/lure.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/lure/lure.cpp b/engines/lure/lure.cpp index bb68befdab..64a166765c 100644 --- a/engines/lure/lure.cpp +++ b/engines/lure/lure.cpp @@ -61,7 +61,7 @@ struct LureGameSettings { // static const LureGameSettings lure_games[] = { - { "lure", "Lure of the Temptress (Floppy, English)", GI_LURE, GF_ENGLISH | GF_FLOPPY, + { "lure", "Lure of the Temptress", GI_LURE, GF_ENGLISH | GF_FLOPPY, "e45ea5d279a268c7d3c6524c2f63a2d2", "disk1.vga" }, { 0, 0, 0, 0, 0, 0 } }; @@ -125,7 +125,12 @@ DetectedGameList Engine_LURE_detectGames(const FSList &fslist) { } for (g = lure_games; g->gameid; g++) { if (strcmp(g->md5sum, (char *)md5str) == 0) { - detectedGames.push_back(*g); + DetectedGame dg(*g); + if (g->features & GF_ENGLISH) + dg.language = Common::EN_USA; + + dg.updateDesc((g->features & GF_FLOPPY) ? "Floppy" : 0); + detectedGames.push_back(dg); } } if (detectedGames.isEmpty()) { |