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.
This commit is contained in:
Johannes Schickel 2012-07-01 15:43:20 +02:00
parent 10bfb82d3b
commit 1c389e5510

View file

@ -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")) {