diff options
Diffstat (limited to 'src/Ryujinx.HLE/HOS/Applets/Controller/ControllerSupportArgV7.cs')
| -rw-r--r-- | src/Ryujinx.HLE/HOS/Applets/Controller/ControllerSupportArgV7.cs | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/Ryujinx.HLE/HOS/Applets/Controller/ControllerSupportArgV7.cs b/src/Ryujinx.HLE/HOS/Applets/Controller/ControllerSupportArgV7.cs new file mode 100644 index 00000000..98c413be --- /dev/null +++ b/src/Ryujinx.HLE/HOS/Applets/Controller/ControllerSupportArgV7.cs @@ -0,0 +1,26 @@ +using Ryujinx.Common.Memory; +using System; +using System.Runtime.InteropServices; + +namespace Ryujinx.HLE.HOS.Applets +{ +#pragma warning disable CS0649 + // (8.0.0+ version) + [StructLayout(LayoutKind.Sequential, Pack = 1)] + struct ControllerSupportArgV7 + { + public ControllerSupportArgHeader Header; + public Array8<uint> IdentificationColor; + public byte EnableExplainText; + public ExplainTextStruct ExplainText; + + [StructLayout(LayoutKind.Sequential, Size = 8 * 0x81)] + public struct ExplainTextStruct + { + private byte element; + + public Span<byte> AsSpan() => MemoryMarshal.CreateSpan(ref element, 8 * 0x81); + } + } +#pragma warning restore CS0649 +}
\ No newline at end of file |
