Update Ryujinx/Ui/Windows/SettingsWindow.cs

Co-authored-by: gdkchan <gab.dark.100@gmail.com>
This commit is contained in:
Christopher Merrill 2023-04-14 16:21:22 -05:00 committed by GitHub
parent e92023e2b0
commit 0a6d2a8102
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -543,7 +543,7 @@ namespace Ryujinx.Ui.Windows
_directoryChanged = false;
}
if (!float.TryParse(_resScaleText.Buffer.Text.Replace(",","."), out float resScaleCustom) || resScaleCustom <= 0.0f)
if (!float.TryParse(_resScaleText.Buffer.Text.Replace(",", "."), out float resScaleCustom) || resScaleCustom <= 0.0f)
{
resScaleCustom = 1.0f;
}