diff options
Diffstat (limited to 'engines/kyra/engine/eob.cpp')
-rw-r--r-- | engines/kyra/engine/eob.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/kyra/engine/eob.cpp b/engines/kyra/engine/eob.cpp index b1cf50052c..25ab86d9ff 100644 --- a/engines/kyra/engine/eob.cpp +++ b/engines/kyra/engine/eob.cpp @@ -567,8 +567,13 @@ void EoBEngine::healParty() { } } -const KyraRpgGUISettings *EoBEngine::guiSettings() { - return (_configRenderMode == Common::kRenderCGA || _configRenderMode == Common::kRenderEGA) ? &_guiSettingsEGA : &_guiSettingsVGA; +const KyraRpgGUISettings *EoBEngine::guiSettings() const { + if (_flags.platform == Common::kPlatformAmiga) + return &_guiSettingsAmiga; + else if (_configRenderMode == Common::kRenderCGA || _configRenderMode == Common::kRenderEGA) + return &_guiSettingsEGA; + else + return &_guiSettingsVGA; } } // End of namespace Kyra |