aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardAppear.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardAppear.cs')
-rw-r--r--src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardAppear.cs63
1 files changed, 32 insertions, 31 deletions
diff --git a/src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardAppear.cs b/src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardAppear.cs
index e1ee0507..fb6aad64 100644
--- a/src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardAppear.cs
+++ b/src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardAppear.cs
@@ -77,41 +77,42 @@ namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard
[MarshalAs(UnmanagedType.I1)]
public bool UseSaveData;
- public uint Reserved3;
+ public uint Reserved3;
public ushort Reserved4;
- public byte Reserved5;
- public ulong Reserved6;
- public ulong Reserved7;
+ public byte Reserved5;
+ public ulong Reserved6;
+ public ulong Reserved7;
public SoftwareKeyboardAppearEx ToExtended()
{
- SoftwareKeyboardAppearEx appear = new SoftwareKeyboardAppearEx();
-
- appear.KeyboardMode = KeyboardMode;
- appear.OkText = OkText;
- appear.LeftOptionalSymbolKey = LeftOptionalSymbolKey;
- appear.RightOptionalSymbolKey = RightOptionalSymbolKey;
- appear.PredictionEnabled = PredictionEnabled;
- appear.CancelButtonDisabled = CancelButtonDisabled;
- appear.InvalidChars = InvalidChars;
- appear.TextMaxLength = TextMaxLength;
- appear.TextMinLength = TextMinLength;
- appear.UseNewLine = UseNewLine;
- appear.MiniaturizationMode = MiniaturizationMode;
- appear.Reserved1 = Reserved1;
- appear.Reserved2 = Reserved2;
- appear.InvalidButtons = InvalidButtons;
- appear.UseSaveData = UseSaveData;
- appear.Reserved3 = Reserved3;
- appear.Reserved4 = Reserved4;
- appear.Reserved5 = Reserved5;
- appear.Uid0 = Reserved6;
- appear.Uid1 = Reserved7;
- appear.SamplingNumber = 0;
- appear.Reserved6 = 0;
- appear.Reserved7 = 0;
- appear.Reserved8 = 0;
- appear.Reserved9 = 0;
+ SoftwareKeyboardAppearEx appear = new()
+ {
+ KeyboardMode = KeyboardMode,
+ OkText = OkText,
+ LeftOptionalSymbolKey = LeftOptionalSymbolKey,
+ RightOptionalSymbolKey = RightOptionalSymbolKey,
+ PredictionEnabled = PredictionEnabled,
+ CancelButtonDisabled = CancelButtonDisabled,
+ InvalidChars = InvalidChars,
+ TextMaxLength = TextMaxLength,
+ TextMinLength = TextMinLength,
+ UseNewLine = UseNewLine,
+ MiniaturizationMode = MiniaturizationMode,
+ Reserved1 = Reserved1,
+ Reserved2 = Reserved2,
+ InvalidButtons = InvalidButtons,
+ UseSaveData = UseSaveData,
+ Reserved3 = Reserved3,
+ Reserved4 = Reserved4,
+ Reserved5 = Reserved5,
+ Uid0 = Reserved6,
+ Uid1 = Reserved7,
+ SamplingNumber = 0,
+ Reserved6 = 0,
+ Reserved7 = 0,
+ Reserved8 = 0,
+ Reserved9 = 0,
+ };
return appear;
}