From f9de553621a636883b65a5079f1fb0f7c29e2c4d Mon Sep 17 00:00:00 2001 From: sunshineinabox Date: Tue, 1 Aug 2023 18:07:22 -0700 Subject: [PATCH] Fix formatting issues hopefully --- src/ARMeilleure/Translation/Translator.cs | 4 ++-- src/Ryujinx.Common/SystemInfo/WindowsSystemInfo.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ARMeilleure/Translation/Translator.cs b/src/ARMeilleure/Translation/Translator.cs index fa3e984cd..5cdb202dc 100644 --- a/src/ARMeilleure/Translation/Translator.cs +++ b/src/ARMeilleure/Translation/Translator.cs @@ -71,7 +71,7 @@ namespace ARMeilleure.Translation _oldFuncs = new ConcurrentQueue>(); _ptc = new Ptc(); - + _physicalCoreCount = SystemInfo.GetPhysicalCoreCount(); Queue = new TranslatorQueue(); @@ -122,7 +122,7 @@ namespace ARMeilleure.Translation _ptc.Profiler.Start(); _ptc.Disable(); - + // Simple heuristic, should be user configurable in future. (1 for 4 core/ht or less, 2 for 6 core + ht // etc). All threads are normal priority except from the last, which just fills as much of the last core diff --git a/src/Ryujinx.Common/SystemInfo/WindowsSystemInfo.cs b/src/Ryujinx.Common/SystemInfo/WindowsSystemInfo.cs index 403afd4a0..91f9375cc 100644 --- a/src/Ryujinx.Common/SystemInfo/WindowsSystemInfo.cs +++ b/src/Ryujinx.Common/SystemInfo/WindowsSystemInfo.cs @@ -139,4 +139,4 @@ namespace Ryujinx.Common.SystemInfo return null; } } -} \ No newline at end of file +}