소스 검색

Vi: Always write the IGBPBuffer in the RequestBuffer response parcel.

This may break libnx homebrew due to a bug in libnx but is required by official games since they always assume that the buffer will be there.
Subv 8 년 전
부모
커밋
1b64160d83
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/core/hle/service/vi/vi.cpp

+ 2 - 1
src/core/hle/service/vi/vi.cpp

@@ -325,7 +325,8 @@ protected:
     void SerializeData() override {
         // TODO(Subv): Figure out what this value means, writing non-zero here will make libnx try
         // to read an IGBPBuffer object from the parcel.
-        Write<u32_le>(0);
+        Write<u32_le>(1);
+        WriteObject(buffer);
         Write<u32_le>(0);
     }