From ad2424171a2c2bc12f2a94524b39f69fd0e5fbca Mon Sep 17 00:00:00 2001 From: bunnei Date: Sun, 26 Jan 2020 00:14:21 -0500 Subject: [PATCH] SoftwareKeyboard: Interactive data size should include size field. (#907) --- .../HOS/Applets/SoftwareKeyboard/SoftwareKeyboardApplet.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardApplet.cs b/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardApplet.cs index 2780446a8..e142838ca 100644 --- a/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardApplet.cs +++ b/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardApplet.cs @@ -166,9 +166,9 @@ namespace Ryujinx.HLE.HOS.Applets } else { - // In interactive mode, we write the length of the text - // as a long, rather than a result code. - writer.Write((long)output.Length); + // In interactive mode, we write the length of the text as a long, rather than + // a result code. This field is inclusive of the 64-bit size. + writer.Write((long)output.Length + 8); } writer.Write(output);