diff --git a/Ryujinx/Ui/MainWindow.cs b/Ryujinx/Ui/MainWindow.cs index e0252016f..82be82070 100644 --- a/Ryujinx/Ui/MainWindow.cs +++ b/Ryujinx/Ui/MainWindow.cs @@ -1011,6 +1011,14 @@ namespace Ryujinx.Ui } } + public void UpdateWindowResolution(){ + + int width = ConfigurationState.Instance.Ui.WindowSizeWidth.Value; + int height = ConfigurationState.Instance.Ui.WindowSizeHeight.Value; + + Resize(width, height); + } + public void UpdateGraphicsConfig() { int resScale = ConfigurationState.Instance.Graphics.ResScale; @@ -1762,4 +1770,4 @@ namespace Ryujinx.Ui UpdateGameTable(); } } -} \ No newline at end of file +}