SoftwareKeyboardDictSet.cs 902 B

12345678910111213141516171819202122232425262728293031323334
  1. using Ryujinx.Common.Memory;
  2. using System.Runtime.InteropServices;
  3. namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard
  4. {
  5. /// <summary>
  6. /// A structure with custom dictionary words for the software keyboard.
  7. /// </summary>
  8. [StructLayout(LayoutKind.Sequential, Pack = 2)]
  9. struct SoftwareKeyboardDictSet
  10. {
  11. /// <summary>
  12. /// A 0x1000-byte aligned buffer position.
  13. /// </summary>
  14. public ulong BufferPosition;
  15. /// <summary>
  16. /// A 0x1000-byte aligned buffer size.
  17. /// </summary>
  18. public uint BufferSize;
  19. /// <summary>
  20. /// Array of word entries in the buffer.
  21. /// </summary>
  22. public Array24<ulong> Entries;
  23. /// <summary>
  24. /// Number of used entries in the Entries field.
  25. /// </summary>
  26. public ushort TotalEntries;
  27. public ushort Padding1;
  28. }
  29. }