diff options
author | Filippos Karapetis | 2012-03-25 16:24:31 +0300 |
---|---|---|
committer | Filippos Karapetis | 2012-03-25 16:24:31 +0300 |
commit | 24d758e5ef8b90f7fdcd8f4ead648f68af184424 (patch) | |
tree | 2eb77708953fb223bc044d2c5b45f352cce86517 /engines | |
parent | c12990d37fa8f73e8d9d6e2c7862f91199e188b8 (diff) | |
download | scummvm-rg350-24d758e5ef8b90f7fdcd8f4ead648f68af184424.tar.gz scummvm-rg350-24d758e5ef8b90f7fdcd8f4ead648f68af184424.tar.bz2 scummvm-rg350-24d758e5ef8b90f7fdcd8f4ead648f68af184424.zip |
SKY: Only show the option for the alternative intro in the CD version
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sky/detection.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/engines/sky/detection.cpp b/engines/sky/detection.cpp index aaac1fce79..05dbe10338 100644 --- a/engines/sky/detection.cpp +++ b/engines/sky/detection.cpp @@ -42,7 +42,7 @@ static const PlainGameDescriptor skySetting = static const ExtraGuiOption skyExtraGuiOption = { _s("Floppy intro"), - _s("Use the floppy verion's intro (CD version only)"), + _s("Use the floppy version's intro (CD version only)"), "alt_intro", false }; @@ -117,8 +117,15 @@ GameList SkyMetaEngine::getSupportedGames() const { } const ExtraGuiOptions SkyMetaEngine::getExtraGuiOptions(const Common::String &target) const { + Common::String guiOptions; + if (ConfMan.hasKey("guioptions", target)) { + guiOptions = ConfMan.get("guioptions", target); + guiOptions = parseGameGUIOptions(guiOptions); + } + ExtraGuiOptions options; - options.push_back(skyExtraGuiOption); + if (!guiOptions.contains(GUIO_NOSPEECH)) + options.push_back(skyExtraGuiOption); return options; } |