diff options
author | Filippos Karapetis | 2009-09-24 07:18:38 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-09-24 07:18:38 +0000 |
commit | c6d2190d2d4971f0cfa149f602bf549e16b34159 (patch) | |
tree | c5ac4354714479274ce3c725e343cf8702366ebd | |
parent | a70351e5ea92d1095097ef6fe77911aa530d1043 (diff) | |
download | scummvm-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
-rw-r--r-- | engines/sci/detection.cpp | 4 |
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; |