diff options
Diffstat (limited to 'engines/advancedDetector.cpp')
-rw-r--r-- | engines/advancedDetector.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/advancedDetector.cpp b/engines/advancedDetector.cpp index f95b5e8ecc..081a97b9f1 100644 --- a/engines/advancedDetector.cpp +++ b/engines/advancedDetector.cpp @@ -104,7 +104,7 @@ void AdvancedMetaEngine::updateGameDescriptor(GameDescriptor &desc, const ADGame if (_flags & kADFlagUseExtraAsHint) desc["extra"] = realDesc->extra; - desc.setGUIOptions(realDesc->guioptions | _guioptions); + desc.setGUIOptions(realDesc->guioptions + _guioptions); desc.appendGUIOptions(getGameGUIOptionsDescriptionLanguage(realDesc->language)); if (realDesc->flags & ADGF_ADDENGLISH) @@ -257,7 +257,7 @@ Common::Error AdvancedMetaEngine::createInstance(OSystem *syst, Engine **engine) if (agdDesc->flags & ADGF_ADDENGLISH) lang += " " + getGameGUIOptionsDescriptionLanguage(Common::EN_ANY); - Common::updateGameGUIOptions(agdDesc->guioptions | _guioptions, lang); + Common::updateGameGUIOptions(agdDesc->guioptions + _guioptions, lang); GameDescriptor gameDescriptor = toGameDescriptor(*agdDesc, _gameids); @@ -568,7 +568,7 @@ AdvancedMetaEngine::AdvancedMetaEngine(const void *descs, uint descItemSize, con _md5Bytes = 5000; _singleid = NULL; _flags = 0; - _guioptions = Common::GUIO_NONE; + _guioptions = GUIO_NONE; _maxScanDepth = 1; _directoryGlobs = NULL; } |