aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;