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