mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-16 07:30:32 +00:00
Added resize function
Resize function gets called if the value of the config resolution combo box is not null and not set to auto.
This commit is contained in:
parent
c2ec31c9a2
commit
6e66e78918
1 changed files with 9 additions and 1 deletions
|
@ -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()
|
public void UpdateGraphicsConfig()
|
||||||
{
|
{
|
||||||
int resScale = ConfigurationState.Instance.Graphics.ResScale;
|
int resScale = ConfigurationState.Instance.Graphics.ResScale;
|
||||||
|
|
Loading…
Reference in a new issue