From b1877632cfabad9e5856c6f82430ecc851645be9 Mon Sep 17 00:00:00 2001 From: Ac_K Date: Fri, 27 Nov 2020 18:57:20 +0100 Subject: Remove some warnings and cleaning code (#1736) --- Ryujinx.Common/SystemInfo/WindowsSystemInfo.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Ryujinx.Common/SystemInfo/WindowsSystemInfo.cs') 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; } -- cgit v1.2.3