2021-11-01 23:38:13 +01:00
|
|
|
using Ryujinx.Common.Memory;
|
|
|
|
using System;
|
2020-08-23 22:54:11 +02:00
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
|
|
namespace Ryujinx.HLE.HOS.Applets
|
|
|
|
{
|
|
|
|
#pragma warning disable CS0649
|
|
|
|
// (1.0.0+ version)
|
2021-11-01 23:38:13 +01:00
|
|
|
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
|
|
|
struct ControllerSupportArgVPre7
|
2020-08-23 22:54:11 +02:00
|
|
|
{
|
|
|
|
public ControllerSupportArgHeader Header;
|
2021-11-01 23:38:13 +01:00
|
|
|
public Array4<uint> IdentificationColor;
|
2020-08-23 22:54:11 +02:00
|
|
|
public byte EnableExplainText;
|
2021-11-01 23:38:13 +01:00
|
|
|
public ExplainTextStruct ExplainText;
|
|
|
|
|
|
|
|
[StructLayout(LayoutKind.Sequential, Size = 4 * 0x81)]
|
|
|
|
public struct ExplainTextStruct
|
|
|
|
{
|
|
|
|
private byte element;
|
|
|
|
|
|
|
|
public Span<byte> ToSpan() => MemoryMarshal.CreateSpan(ref element, 4 * 0x81);
|
|
|
|
}
|
2020-08-23 22:54:11 +02:00
|
|
|
}
|
|
|
|
#pragma warning restore CS0649
|
|
|
|
}
|