aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Ryujinx.Common/SystemInfo/MacOSSystemInfo.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Ryujinx.Common/SystemInfo/MacOSSystemInfo.cs b/src/Ryujinx.Common/SystemInfo/MacOSSystemInfo.cs
index 98a0d8ab..a968ad17 100644
--- a/src/Ryujinx.Common/SystemInfo/MacOSSystemInfo.cs
+++ b/src/Ryujinx.Common/SystemInfo/MacOSSystemInfo.cs
@@ -12,6 +12,13 @@ namespace Ryujinx.Common.SystemInfo
{
internal MacOSSystemInfo()
{
+ if (SysctlByName("kern.osversion", out string buildRevision) != 0)
+ {
+ buildRevision = "Unknown Build";
+ }
+
+ OsDescription = $"macOS {Environment.OSVersion.Version} ({buildRevision}) ({RuntimeInformation.OSArchitecture})";
+
string cpuName = GetCpuidCpuName();
if (cpuName == null && SysctlByName("machdep.cpu.brand_string", out cpuName) != 0)