From dae19afbfb0ba288755bd83c9bee5e0c48620c6a Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 20 Jun 2011 01:28:10 +0200 Subject: SCI: Let fallback detector set GUIO_NOSPEECH appropriately --- engines/sci/detection.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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"; -- cgit v1.2.3