diff --git a/src/Ryujinx.Common/SystemInfo/WindowsSystemInfo.cs b/src/Ryujinx.Common/SystemInfo/WindowsSystemInfo.cs index 4bb1d0936..e85dc93f0 100644 --- a/src/Ryujinx.Common/SystemInfo/WindowsSystemInfo.cs +++ b/src/Ryujinx.Common/SystemInfo/WindowsSystemInfo.cs @@ -8,16 +8,16 @@ using System.Linq; namespace Ryujinx.Common.SystemInfo { [SupportedOSPlatform("windows")] - partial class WindowsSystemInfo : SystemInfo + class WindowsSystemInfo : SystemInfo { internal WindowsSystemInfo() { try { - using (WmiConnection connection = new WmiConnection()) + using (WmiConnection connection = new()) { - (string cpuName, int physicalCores) = GetCpuStatsLight(connection); - CpuName = $"{cpuName} ; {physicalCores} physical ; {LogicalCoreCount} logical"; + (string cpuName, PhysicalCores) = GetCpuStatsLight(connection); + CpuName = $"{cpuName} ; {PhysicalCores} physical ; {LogicalCoreCount} logical"; (RamTotal, RamAvailable) = GetMemoryStatsWmiLight(connection); } }