aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Common/SystemInfo
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Common/SystemInfo')
-rw-r--r--Ryujinx.Common/SystemInfo/MacOSSysteminfo.cs4
-rw-r--r--Ryujinx.Common/SystemInfo/WindowsSystemInfo.cs2
2 files changed, 3 insertions, 3 deletions
diff --git a/Ryujinx.Common/SystemInfo/MacOSSysteminfo.cs b/Ryujinx.Common/SystemInfo/MacOSSysteminfo.cs
index 167c96db..5ba45a68 100644
--- a/Ryujinx.Common/SystemInfo/MacOSSysteminfo.cs
+++ b/Ryujinx.Common/SystemInfo/MacOSSysteminfo.cs
@@ -75,7 +75,7 @@ namespace Ryujinx.Common.SystemInfo
}
else
{
- Logger.PrintError(LogClass.Application, $"Cannot get memory size, sysctlbyname error: {res}");
+ Logger.Error?.Print(LogClass.Application, $"Cannot get memory size, sysctlbyname error: {res}");
RamSize = 0;
}
@@ -88,7 +88,7 @@ namespace Ryujinx.Common.SystemInfo
}
else
{
- Logger.PrintError(LogClass.Application, $"Cannot get CPU name, sysctlbyname error: {res}");
+ Logger.Error?.Print(LogClass.Application, $"Cannot get CPU name, sysctlbyname error: {res}");
CpuName = "Unknown";
}
diff --git a/Ryujinx.Common/SystemInfo/WindowsSystemInfo.cs b/Ryujinx.Common/SystemInfo/WindowsSystemInfo.cs
index 6bbed215..2bdd6250 100644
--- a/Ryujinx.Common/SystemInfo/WindowsSystemInfo.cs
+++ b/Ryujinx.Common/SystemInfo/WindowsSystemInfo.cs
@@ -37,7 +37,7 @@ namespace Ryujinx.Common.SystemInfo
if (wmiNotAvailable)
{
- Logger.PrintError(LogClass.Application, "WMI isn't available, system informations will use default values.");
+ Logger.Error?.Print(LogClass.Application, "WMI isn't available, system informations will use default values.");
CpuName = "Unknown";
}