mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-13 06:09:11 +00:00
Error in previous commit "cpu cores" line was being read but not parsed. Correctly use Ryujinx logger now to actually show message.
This commit is contained in:
parent
d782d57ca4
commit
916611c468
1 changed files with 2 additions and 1 deletions
|
@ -99,6 +99,7 @@ namespace Ryujinx.Common.SystemInfo
|
|||
if (cpuCoresLine != null)
|
||||
{
|
||||
string[] parts = cpuCoresLine.Split(':');
|
||||
coreCount = int.Parse(parts[1]);
|
||||
}
|
||||
}
|
||||
else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
|
||||
|
@ -124,7 +125,7 @@ namespace Ryujinx.Common.SystemInfo
|
|||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Logger.Error?.Print(LogClass.Application,"An error occurred while trying to get the physical core count: {ex.Message}");
|
||||
Logger.Error?.Print(LogClass.Application,$"An error occurred while trying to get the physical core count: {ex.Message}");
|
||||
}
|
||||
|
||||
return coreCount;
|
||||
|
|
Loading…
Reference in a new issue