mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-16 07:30:32 +00:00
Update SettingsWindow.cs
This commit is contained in:
parent
0909bb9f7d
commit
f40765afcf
1 changed files with 6 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue