mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-08-10 12:17:51 +02:00
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
This commit is contained in:
@@ -3,13 +3,15 @@
|
||||
namespace Ryujinx.Graphics.Nvdec
|
||||
{
|
||||
// Note: Most of those names are not official.
|
||||
unsafe struct NvdecRegisters
|
||||
struct NvdecRegisters
|
||||
{
|
||||
public fixed uint Reserved0[128];
|
||||
#pragma warning disable CS0649
|
||||
public Array64<uint> Reserved0;
|
||||
public Array64<uint> Reserved100;
|
||||
public uint SetCodecID;
|
||||
public fixed uint Reserved204[63];
|
||||
public Array63<uint> Reserved204;
|
||||
public uint Execute;
|
||||
public fixed uint Reserved304[63];
|
||||
public Array63<uint> Reserved304;
|
||||
public uint SetPlatformID;
|
||||
public uint SetPictureInfoOffset;
|
||||
public uint SetBitstreamOffset;
|
||||
@@ -37,5 +39,6 @@ namespace Ryujinx.Graphics.Nvdec
|
||||
public uint SetVp9LastFrameMvsOffset;
|
||||
public uint SetVp9CurrFrameMvsOffset;
|
||||
public uint Unknown5DC;
|
||||
#pragma warning restore CS0649
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user