diff options
Diffstat (limited to 'backends')
-rw-r--r-- | backends/graphics/sdl/sdl-graphics.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/graphics/sdl/sdl-graphics.cpp b/backends/graphics/sdl/sdl-graphics.cpp index 0e0a45a38f..f4aaa92955 100644 --- a/backends/graphics/sdl/sdl-graphics.cpp +++ b/backends/graphics/sdl/sdl-graphics.cpp @@ -95,6 +95,10 @@ bool SdlGraphicsManager::defaultGraphicsModeConfig() const { } int SdlGraphicsManager::getGraphicsModeIdByName(const Common::String &name) const { + if (name == "normal" || name == "default") { + return getDefaultGraphicsMode(); + } + const OSystem::GraphicsMode *mode = getSupportedGraphicsModes(); while (mode && mode->name != nullptr) { if (name.equalsIgnoreCase(mode->name)) { |