diff options
author | Filippos Karapetis | 2009-08-26 01:38:18 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-08-26 01:38:18 +0000 |
commit | 5ac2b5522d73bcfa7dc8e47473823251abf93edd (patch) | |
tree | 3f45f125d48edd9f3ed686664df17b63c2322d38 /engines/sci | |
parent | fcf4366230ca076eddd260532d06f8a79d4568fa (diff) | |
download | scummvm-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.cpp | 3 |
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; |