forked from Mirror/Ryujinx
SoftwareKeyboard: Interactive data size should include size field. (#907)
This commit is contained in:
parent
1d8da18334
commit
ad2424171a
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
Reference in a new issue