diff options
Diffstat (limited to 'Ryujinx.Common/SystemInfo')
| -rw-r--r-- | Ryujinx.Common/SystemInfo/LinuxSystemInfo.cs | 2 | ||||
| -rw-r--r-- | Ryujinx.Common/SystemInfo/MacOSSysteminfo.cs | 2 | ||||
| -rw-r--r-- | Ryujinx.Common/SystemInfo/WindowsSystemInfo.cs | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/Ryujinx.Common/SystemInfo/LinuxSystemInfo.cs b/Ryujinx.Common/SystemInfo/LinuxSystemInfo.cs index bd3ee57a..c729ab3d 100644 --- a/Ryujinx.Common/SystemInfo/LinuxSystemInfo.cs +++ b/Ryujinx.Common/SystemInfo/LinuxSystemInfo.cs @@ -1,8 +1,10 @@ using System.IO; using System.Linq; +using System.Runtime.Versioning; namespace Ryujinx.Common.SystemInfo { + [SupportedOSPlatform("linux")] internal class LinuxSysteminfo : SystemInfo { public override string CpuName { get; } diff --git a/Ryujinx.Common/SystemInfo/MacOSSysteminfo.cs b/Ryujinx.Common/SystemInfo/MacOSSysteminfo.cs index 5ba45a68..1cf18ca0 100644 --- a/Ryujinx.Common/SystemInfo/MacOSSysteminfo.cs +++ b/Ryujinx.Common/SystemInfo/MacOSSysteminfo.cs @@ -1,11 +1,13 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Runtime.Versioning; using System.Text; using Ryujinx.Common.Logging; namespace Ryujinx.Common.SystemInfo { + [SupportedOSPlatform("macos")] internal class MacOSSysteminfo : SystemInfo { public override string CpuName { get; } diff --git a/Ryujinx.Common/SystemInfo/WindowsSystemInfo.cs b/Ryujinx.Common/SystemInfo/WindowsSystemInfo.cs index 2bdd6250..1b048c8e 100644 --- a/Ryujinx.Common/SystemInfo/WindowsSystemInfo.cs +++ b/Ryujinx.Common/SystemInfo/WindowsSystemInfo.cs @@ -2,9 +2,11 @@ using Ryujinx.Common.Logging; using System; using System.Management; using System.Runtime.InteropServices; +using System.Runtime.Versioning; namespace Ryujinx.Common.SystemInfo { + [SupportedOSPlatform("windows")] internal class WindowsSysteminfo : SystemInfo { public override string CpuName { get; } |
