From 157ad3f54f6f8b16f9bf4004d3dc954197eaf66a Mon Sep 17 00:00:00 2001 From: gdkchan Date: Thu, 6 Aug 2020 18:40:41 -0300 Subject: Silence several build warnings (#1428) * Silence several build warnings * Remove fixed buffers from NVDEC struct * Remove unused field and usings * Fix wrong name * Silence more warning on H264 PictureInfo --- Ryujinx.Graphics.Gpu/Engine/GPFifo/CompressedMethod.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Ryujinx.Graphics.Gpu/Engine/GPFifo/CompressedMethod.cs') diff --git a/Ryujinx.Graphics.Gpu/Engine/GPFifo/CompressedMethod.cs b/Ryujinx.Graphics.Gpu/Engine/GPFifo/CompressedMethod.cs index 9a213489..458dc8f6 100644 --- a/Ryujinx.Graphics.Gpu/Engine/GPFifo/CompressedMethod.cs +++ b/Ryujinx.Graphics.Gpu/Engine/GPFifo/CompressedMethod.cs @@ -25,7 +25,9 @@ namespace Ryujinx.Graphics.Gpu.Engine.GPFifo struct CompressedMethod { +#pragma warning disable CS0649 public uint Method; +#pragma warning restore CS0649 public int MethodAddressOld => (int)((Method >> 2) & 0x7FF); public int MethodAddress => (int)((Method >> 0) & 0xFFF); public int SubdeviceMask => (int)((Method >> 4) & 0xFFF); -- cgit v1.2.3