Update SettingsWindow.cs

This commit is contained in:
Christopher Merrill 2023-04-15 11:49:12 -05:00 committed by GitHub
parent 0909bb9f7d
commit f40765afcf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -559,17 +559,20 @@ namespace Ryujinx.Ui.Windows
_height = 720;
break;
case "2":
_width = 1280;
_height = 720;
_width = 1920;
_height = 1080;
break;
case "3":
_width = 2160;
_width = 2560;
_height = 1440;
break;
default:
break;
}
//If more resolutions need to be added they can be added here by just adding additional options
//in SettingsWindow.glade and then adding the related case to the switch statement.
ConfigurationState.Instance.Ui.WindowSizeWidth.Value = _width;
ConfigurationState.Instance.Ui.WindowSizeHeight.Value = _height;