aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-01-26 00:14:21 -0500
committerjduncanator <1518948+jduncanator@users.noreply.github.com>2020-01-26 16:14:21 +1100
commitad2424171a2c2bc12f2a94524b39f69fd0e5fbca (patch)
treefe956a48325df1e21f0f3423a2fc51d7d18439ed
parent1d8da1833429acd4a9cbea7597c0699c2e3c80bf (diff)
SoftwareKeyboard: Interactive data size should include size field. (#907)
-rw-r--r--Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardApplet.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardApplet.cs b/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardApplet.cs
index 2780446a..e142838c 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);