Suppress CS0169 CS0649 warns from HID structs (#1222)
Also fix typo in a pragma restore in Logger
This commit is contained in:
parent
be98a7a649
commit
492bb6ee5f
6 changed files with 11 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
namespace Ryujinx.HLE.HOS.Applets
|
||||
{
|
||||
#pragma warning disable CS0649
|
||||
// (8.0.0+ version)
|
||||
unsafe struct ControllerSupportArg
|
||||
{
|
||||
|
@ -8,4 +9,5 @@ namespace Ryujinx.HLE.HOS.Applets
|
|||
public byte EnableExplainText;
|
||||
public fixed byte ExplainText[8 * 0x81];
|
||||
}
|
||||
#pragma warning restore CS0649
|
||||
}
|
|
@ -1,5 +1,6 @@
|
|||
namespace Ryujinx.HLE.HOS.Applets
|
||||
{
|
||||
#pragma warning disable CS0649
|
||||
struct ControllerSupportArgHeader
|
||||
{
|
||||
public sbyte PlayerCountMin;
|
||||
|
@ -10,4 +11,5 @@ namespace Ryujinx.HLE.HOS.Applets
|
|||
public byte EnableSingleMode;
|
||||
public byte EnableIdentificationColor;
|
||||
}
|
||||
#pragma warning restore CS0649
|
||||
}
|
|
@ -1,5 +1,6 @@
|
|||
namespace Ryujinx.HLE.HOS.Applets
|
||||
{
|
||||
#pragma warning disable CS0649
|
||||
struct ControllerSupportArgPrivate
|
||||
{
|
||||
public uint PrivateSize;
|
||||
|
@ -11,4 +12,5 @@ namespace Ryujinx.HLE.HOS.Applets
|
|||
public uint NpadStyleSet;
|
||||
public uint NpadJoyHoldType;
|
||||
}
|
||||
#pragma warning restore CS0649
|
||||
}
|
|
@ -1,5 +1,6 @@
|
|||
namespace Ryujinx.HLE.HOS.Applets
|
||||
{
|
||||
#pragma warning disable CS0649
|
||||
unsafe struct ControllerSupportResultInfo
|
||||
{
|
||||
public sbyte PlayerCount;
|
||||
|
@ -7,4 +8,5 @@ namespace Ryujinx.HLE.HOS.Applets
|
|||
public uint SelectedId;
|
||||
public uint Result;
|
||||
}
|
||||
#pragma warning restore CS0649
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue