aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/detection.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2012-02-10 03:46:50 -0800
committerEugene Sandulenko2012-02-10 03:46:50 -0800
commit0deea6fbf89d608130d89b06dce2497e036d68aa (patch)
treedec5a5f89294b4d566600100b0a39ef071c19ef0 /engines/scumm/detection.cpp
parent40b6b3a3af38b668e63f4936d22b4d792b233587 (diff)
parent5db023646a8c685469bfe9dc551a282f8240ae04 (diff)
downloadscummvm-rg350-0deea6fbf89d608130d89b06dce2497e036d68aa.tar.gz
scummvm-rg350-0deea6fbf89d608130d89b06dce2497e036d68aa.tar.bz2
scummvm-rg350-0deea6fbf89d608130d89b06dce2497e036d68aa.zip
Merge pull request #177 from BenCastricum/5db023646a8c685469bfe9dc551a282f8240ae04
SCUMM: Use regular detection algorithms for FMTOWNS demos.
Diffstat (limited to 'engines/scumm/detection.cpp')
-rw-r--r--engines/scumm/detection.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp
index d925cc9198..3e1ad53ed6 100644
--- a/engines/scumm/detection.cpp
+++ b/engines/scumm/detection.cpp
@@ -971,9 +971,6 @@ GameList ScummMetaEngine::detectGames(const Common::FSList &fslist) const {
::detectGames(fslist, results, 0);
- // TODO: We still don't handle the FM-TOWNS demos (like zakloom) very well.
- // In particular, they are detected as ZakTowns, which is bad.
-
for (Common::List<DetectorResult>::iterator
x = results.begin(); x != results.end(); ++x) {
const PlainGameDescriptor *g = findPlainGameDescriptor(x->game.gameid, gameDescriptions);
@@ -987,26 +984,6 @@ GameList ScummMetaEngine::detectGames(const Common::FSList &fslist) const {
// Based on generateComplexID() in advancedDetector.cpp.
dg["preferredtarget"] = generatePreferredTarget(*x);
- // HACK: Detect and distinguish the FM-TOWNS demos
- if (x->game.platform == Common::kPlatformFMTowns && (x->game.features & GF_DEMO)) {
- if (x->md5 == "2d388339d6050d8ccaa757b64633954e") {
- // Indy + Loom demo
- dg.description() = "Indiana Jones and the Last Crusade & Loom";
- dg.updateDesc(x->extra);
- dg["preferredtarget"] = "indyloom";
- } else if (x->md5 == "77f5c9cc0986eb729c1a6b4c8823bbae") {
- // Zak + Loom demo
- dg.description() = "Zak McKracken & Loom";
- dg.updateDesc(x->extra);
- dg["preferredtarget"] = "zakloom";
- } else if (x->md5 == "3938ee1aa4433fca9d9308c9891172b1") {
- // Indy + Zak demo
- dg.description() = "Indiana Jones and the Last Crusade & Zak McKracken";
- dg.updateDesc(x->extra);
- dg["preferredtarget"] = "indyzak";
- }
- }
-
dg.setGUIOptions(x->game.guioptions + MidiDriver::musicType2GUIO(x->game.midi));
dg.appendGUIOptions(getGameGUIOptionsDescriptionLanguage(x->language));