mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-02-06 01:29:44 +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;
|
_height = 720;
|
||||||
break;
|
break;
|
||||||
case "2":
|
case "2":
|
||||||
_width = 1280;
|
_width = 1920;
|
||||||
_height = 720;
|
_height = 1080;
|
||||||
break;
|
break;
|
||||||
case "3":
|
case "3":
|
||||||
_width = 2160;
|
_width = 2560;
|
||||||
_height = 1440;
|
_height = 1440;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
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.WindowSizeWidth.Value = _width;
|
||||||
ConfigurationState.Instance.Ui.WindowSizeHeight.Value = _height;
|
ConfigurationState.Instance.Ui.WindowSizeHeight.Value = _height;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue