From b78ffc4abf57a85a0caaaeb7bf6a51901c8e27b4 Mon Sep 17 00:00:00 2001 From: Subv Date: Tue, 13 Feb 2018 22:23:53 -0500 Subject: [PATCH] Vi: Don't write the IGBPBuffer in the IGBPRequestBufferResponseParcel. --- src/core/hle/service/vi/vi.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp index 9394a06a79..439af318c5 100644 --- a/src/core/hle/service/vi/vi.cpp +++ b/src/core/hle/service/vi/vi.cpp @@ -319,11 +319,9 @@ public: protected: void SerializeData() override { - // TODO(bunnei): Find out what this all means. Writing anything non-zero here breaks libnx. + // 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(0); - Write(FENCE_HACK); - Write(0); - Write(buffer); Write(0); }