From 4738113f293ac2477a553225a24b6c489c6855f1 Mon Sep 17 00:00:00 2001 From: Cristallix Date: Mon, 20 Apr 2020 23:59:59 +0200 Subject: Suppress warnings from fields never used or never assigned (CS0169 and CS0649) (#919) * chore : disable unwanted warnings and minor code cleanup * chore : remove more warnings * fix : reorder struct correctly * fix : restore _isKernel and remove useless comment * fix : copy/paste error * fix : restore CallMethod call * fix : whitespace * chore : clean using * feat : remove warnings * fix : simplify warning removal on struct * fix : revert fields deletion and code clean up * fix : re-add RE value * fix : typo --- Ryujinx.Graphics.Gpu/Engine/Methods.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Ryujinx.Graphics.Gpu/Engine/Methods.cs') diff --git a/Ryujinx.Graphics.Gpu/Engine/Methods.cs b/Ryujinx.Graphics.Gpu/Engine/Methods.cs index bbfbf760..39a902e8 100644 --- a/Ryujinx.Graphics.Gpu/Engine/Methods.cs +++ b/Ryujinx.Graphics.Gpu/Engine/Methods.cs @@ -790,10 +790,12 @@ namespace Ryujinx.Graphics.Gpu.Engine /// private struct SbDescriptor { +#pragma warning disable CS0649 public uint AddressLow; public uint AddressHigh; public int Size; public int Padding; +#pragma warning restore CS0649 public ulong PackAddress() { -- cgit v1.2.3