diff options
author | Max Horn | 2011-06-20 01:28:10 +0200 |
---|---|---|
committer | Max Horn | 2011-06-20 01:28:10 +0200 |
commit | dae19afbfb0ba288755bd83c9bee5e0c48620c6a (patch) | |
tree | c6f9f08d45ec1e418865239b7b1f1ccdab2cc76e /engines | |
parent | 88913c0139ac6d1dfb356d3048702b7bc8ef4079 (diff) | |
download | scummvm-rg350-dae19afbfb0ba288755bd83c9bee5e0c48620c6a.tar.gz scummvm-rg350-dae19afbfb0ba288755bd83c9bee5e0c48620c6a.tar.bz2 scummvm-rg350-dae19afbfb0ba288755bd83c9bee5e0c48620c6a.zip |
SCI: Let fallback detector set GUIO_NOSPEECH appropriately
Diffstat (limited to 'engines')
-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 1cfedd6f1b..2285e512bd 100644 --- a/engines/sci/detection.cpp +++ b/engines/sci/detection.cpp @@ -430,6 +430,7 @@ const ADGameDescription *SciMetaEngine::fallbackDetect(const FileMap &allFiles, s_fallbackDesc.flags = ADGF_NO_FLAGS; s_fallbackDesc.platform = Common::kPlatformPC; // default to PC platform s_fallbackDesc.gameid = "sci"; + s_fallbackDesc.guioptions = Common::GUIO_NONE; if (allFiles.contains("resource.map") || allFiles.contains("Data1") || allFiles.contains("resmap.001") || allFiles.contains("resmap.001")) { @@ -559,6 +560,9 @@ const ADGameDescription *SciMetaEngine::fallbackDetect(const FileMap &allFiles, const bool isDemo = (s_fallbackDesc.flags & ADGF_DEMO); const bool isCD = (s_fallbackDesc.flags & ADGF_CD); + if (!isCD) + s_fallbackDesc.guioptions |= Common::GUIO_NOSPEECH; + if (gameId.hasSuffix("sci")) { s_fallbackDesc.extra = "SCI"; |