From e92023e2b09251836cb6069939a5df0b8df9bb2a Mon Sep 17 00:00:00 2001 From: Christopher Merrill <47538097+Revan20911@users.noreply.github.com> Date: Fri, 14 Apr 2023 12:33:39 -0500 Subject: [PATCH] Allow user to enter in commas as well as periods Allow users to enter in commas in place of decimal points --- Ryujinx/Ui/Windows/SettingsWindow.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ryujinx/Ui/Windows/SettingsWindow.cs b/Ryujinx/Ui/Windows/SettingsWindow.cs index f049da505..a5bea3b66 100644 --- a/Ryujinx/Ui/Windows/SettingsWindow.cs +++ b/Ryujinx/Ui/Windows/SettingsWindow.cs @@ -543,7 +543,7 @@ namespace Ryujinx.Ui.Windows _directoryChanged = false; } - if (!float.TryParse(_resScaleText.Buffer.Text, out float resScaleCustom) || resScaleCustom <= 0.0f) + if (!float.TryParse(_resScaleText.Buffer.Text.Replace(",","."), out float resScaleCustom) || resScaleCustom <= 0.0f) { resScaleCustom = 1.0f; }