summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Subv2018-02-13 22:23:53 -0500
committerGravatar Subv2018-02-14 22:57:55 -0500
commitb78ffc4abf57a85a0caaaeb7bf6a51901c8e27b4 (patch)
treeaff10eae0772593c5b3238fe46a3ae1b35bb60b2 /src
parentVi: Properly write the BufferProducerFence object in the DequeueBuffer respon... (diff)
downloadyuzu-b78ffc4abf57a85a0caaaeb7bf6a51901c8e27b4.tar.gz
yuzu-b78ffc4abf57a85a0caaaeb7bf6a51901c8e27b4.tar.xz
yuzu-b78ffc4abf57a85a0caaaeb7bf6a51901c8e27b4.zip
Vi: Don't write the IGBPBuffer in the IGBPRequestBufferResponseParcel.
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/vi/vi.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp
index 9394a06a7..439af318c 100644
--- a/src/core/hle/service/vi/vi.cpp
+++ b/src/core/hle/service/vi/vi.cpp
@@ -319,11 +319,9 @@ public:
319 319
320protected: 320protected:
321 void SerializeData() override { 321 void SerializeData() override {
322 // TODO(bunnei): Find out what this all means. Writing anything non-zero here breaks libnx. 322 // TODO(Subv): Figure out what this value means, writing non-zero here will make libnx try
323 // to read an IGBPBuffer object from the parcel.
323 Write<u32_le>(0); 324 Write<u32_le>(0);
324 Write<u32_le>(FENCE_HACK);
325 Write<u32_le>(0);
326 Write(buffer);
327 Write<u32_le>(0); 325 Write<u32_le>(0);
328 } 326 }
329 327