aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Common/SystemInterop/GdiPlusHelper.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.Common/SystemInterop/GdiPlusHelper.cs')
-rw-r--r--src/Ryujinx.Common/SystemInterop/GdiPlusHelper.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Ryujinx.Common/SystemInterop/GdiPlusHelper.cs b/src/Ryujinx.Common/SystemInterop/GdiPlusHelper.cs
index 1001424d..bedf56ea 100644
--- a/src/Ryujinx.Common/SystemInterop/GdiPlusHelper.cs
+++ b/src/Ryujinx.Common/SystemInterop/GdiPlusHelper.cs
@@ -28,14 +28,14 @@ namespace Ryujinx.Common.SystemInterop
{
public int GdiplusVersion;
-#pragma warning disable CS0649
+#pragma warning disable CS0649 // Field is never assigned to
public IntPtr DebugEventCallback;
public int SuppressBackgroundThread;
public int SuppressExternalCodecs;
public int StartupParameters;
#pragma warning restore CS0649
- public static StartupInputEx Default => new StartupInputEx
+ public static StartupInputEx Default => new()
{
// We assume Windows 8 and upper
GdiplusVersion = 2,