aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorFilippos Karapetis2009-08-26 01:38:18 +0000
committerFilippos Karapetis2009-08-26 01:38:18 +0000
commit5ac2b5522d73bcfa7dc8e47473823251abf93edd (patch)
tree3f45f125d48edd9f3ed686664df17b63c2322d38 /engines/sci
parentfcf4366230ca076eddd260532d06f8a79d4568fa (diff)
downloadscummvm-rg350-5ac2b5522d73bcfa7dc8e47473823251abf93edd.tar.gz
scummvm-rg350-5ac2b5522d73bcfa7dc8e47473823251abf93edd.tar.bz2
scummvm-rg350-5ac2b5522d73bcfa7dc8e47473823251abf93edd.zip
Added code to distinguish between the demo and full versions of fairytales
svn-id: r43752
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/detection.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/detection.cpp b/engines/sci/detection.cpp
index 1ce0b5ae29..5454dc74e5 100644
--- a/engines/sci/detection.cpp
+++ b/engines/sci/detection.cpp
@@ -439,6 +439,9 @@ const ADGameDescription *SciMetaEngine::fallbackDetect(const Common::FSList &fsl
if (!strcmp(s_fallbackDesc.desc.gameid, "ecoquest2") && !Common::File::exists("resource.aud"))
s_fallbackDesc.desc.flags |= ADGF_DEMO;
+ if (!strcmp(s_fallbackDesc.desc.gameid, "fairytales") && !Common::File::exists("resource.002"))
+ s_fallbackDesc.desc.flags |= ADGF_DEMO;
+
SearchMan.remove("SCI_detection");
return (const ADGameDescription *)&s_fallbackDesc;