소스 검색

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

bunnei 6 년 전
부모
커밋
ad2424171a
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardApplet.cs

+ 3 - 3
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);