aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2009-09-24 07:18:38 +0000
committerFilippos Karapetis2009-09-24 07:18:38 +0000
commitc6d2190d2d4971f0cfa149f602bf549e16b34159 (patch)
treec5ac4354714479274ce3c725e343cf8702366ebd /engines
parenta70351e5ea92d1095097ef6fe77911aa530d1043 (diff)
downloadscummvm-rg350-c6d2190d2d4971f0cfa149f602bf549e16b34159.tar.gz
scummvm-rg350-c6d2190d2d4971f0cfa149f602bf549e16b34159.tar.bz2
scummvm-rg350-c6d2190d2d4971f0cfa149f602bf549e16b34159.zip
Add "demo" to the extras field of the fallback detector for demos
svn-id: r44291
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/detection.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/detection.cpp b/engines/sci/detection.cpp
index 819ff37974..484d1611d8 100644
--- a/engines/sci/detection.cpp
+++ b/engines/sci/detection.cpp
@@ -361,6 +361,10 @@ const ADGameDescription *SciMetaEngine::fallbackDetect(const Common::FSList &fsl
if (!strcmp(s_fallbackDesc.desc.gameid, "qfg1") && !Common::File::exists("resource.001"))
s_fallbackDesc.desc.extra = "VGA Remake";
+ // Add "demo" to the description for demos
+ if (s_fallbackDesc.desc.flags & ADGF_DEMO)
+ s_fallbackDesc.desc.extra = "demo";
+
SearchMan.remove("SCI_detection");
return (const ADGameDescription *)&s_fallbackDesc;