From 309276a3170b876ef7818dc42b7ef81a467fd83e Mon Sep 17 00:00:00 2001 From: bunnei Date: Fri, 9 Feb 2018 21:42:08 -0500 Subject: [PATCH] IGBPRequestBufferResponseParcel: Fix response for libnx. --- src/core/hle/service/vi/vi.cpp | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp index 7508443a87..589a4937ca 100644 --- a/src/core/hle/service/vi/vi.cpp +++ b/src/core/hle/service/vi/vi.cpp @@ -301,14 +301,11 @@ public: protected: void SerializeData() override { - // TODO(Subv): Find out what this all means - Write(1); - - Write(sizeof(NVFlinger::IGBPBuffer)); - Write(0); // Unknown - + // TODO(bunnei): Find out what this all means. Writing anything non-zero here breaks libnx. + Write(0); + Write(0); + Write(0); Write(buffer); - Write(0); }