1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-23 21:26:01 +00:00

SoftwareKeyboard: Interactive data size should include size field. (#907)

This commit is contained in:
bunnei 2020-01-26 00:14:21 -05:00 committed by jduncanator
parent 1d8da18334
commit ad2424171a

View file

@ -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);