aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorJohannes Schickel2012-07-01 15:43:20 +0200
committerJohannes Schickel2012-07-01 15:43:20 +0200
commit1c389e55105d40468ff9415a3d2b3ca31ef602b8 (patch)
tree27f7a14b82fd4593cd9b4382bcd18fad3ae85573 /gui
parent10bfb82d3b7ba31b7b8f57560ff55b010dd7de3e (diff)
downloadscummvm-rg350-1c389e55105d40468ff9415a3d2b3ca31ef602b8.tar.gz
scummvm-rg350-1c389e55105d40468ff9415a3d2b3ca31ef602b8.tar.bz2
scummvm-rg350-1c389e55105d40468ff9415a3d2b3ca31ef602b8.zip
GUI: Only use grid load dialog for 640x400 or bigger.
Formerly it was enabled for everything above 320x200, but resolutions below 640x400 feature not enough space.
Diffstat (limited to 'gui')
-rw-r--r--gui/saveload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/saveload.cpp b/gui/saveload.cpp
index 9ae27f31be..9cc8935f03 100644
--- a/gui/saveload.cpp
+++ b/gui/saveload.cpp
@@ -45,7 +45,7 @@ void SaveLoadChooser::selectChooser(const MetaEngine &engine) {
Common::String userConfig = ConfMan.get("gui_saveload_chooser", Common::ConfigManager::kApplicationDomain);
- if (!_saveMode && g_gui.getWidth() > 320 && g_gui.getHeight() > 200
+ if (!_saveMode && g_gui.getWidth() >= 640 && g_gui.getHeight() >= 400
&& engine.hasFeature(MetaEngine::kSavesSupportMetaInfo)
&& engine.hasFeature(MetaEngine::kSavesSupportThumbnail)
&& userConfig.equalsIgnoreCase("grid")) {