From 6b14d440032b419bb5c61677d8ba9735e9322160 Mon Sep 17 00:00:00 2001 From: Andy Adshead Date: Mon, 28 Jan 2019 03:21:08 +0000 Subject: [PATCH] Allow update rates of less than 1hz --- Ryujinx/Config.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ryujinx/Config.cs b/Ryujinx/Config.cs index e76be6d0d0..e11bfa105a 100644 --- a/Ryujinx/Config.cs +++ b/Ryujinx/Config.cs @@ -72,7 +72,7 @@ namespace Ryujinx Enabled = Convert.ToBoolean(parser.Value("Profiling_Enabled")), FileDumpEnabled = profilePath != "", DumpLocation = profilePath, - UpdateRate = 1.0f / Convert.ToInt32(parser.Value("Profiling_Update_Rate")), + UpdateRate = 1.0f / Convert.ToSingle(parser.Value("Profiling_Update_Rate")), }); SystemLanguage SetLanguage = Enum.Parse(parser.Value("System_Language"));