summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/vi
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-02-14 04:23:53 +0100
committerSubv <subv2112@gmail.com>2018-02-15 04:57:55 +0100
commitb78ffc4abf57a85a0caaaeb7bf6a51901c8e27b4 (patch)
treeaff10eae0772593c5b3238fe46a3ae1b35bb60b2 /src/core/hle/service/vi
parentVi: Properly write the BufferProducerFence object in the DequeueBuffer response parcel. (diff)
downloadyuzu-b78ffc4abf57a85a0caaaeb7bf6a51901c8e27b4.tar
yuzu-b78ffc4abf57a85a0caaaeb7bf6a51901c8e27b4.tar.gz
yuzu-b78ffc4abf57a85a0caaaeb7bf6a51901c8e27b4.tar.bz2
yuzu-b78ffc4abf57a85a0caaaeb7bf6a51901c8e27b4.tar.lz
yuzu-b78ffc4abf57a85a0caaaeb7bf6a51901c8e27b4.tar.xz
yuzu-b78ffc4abf57a85a0caaaeb7bf6a51901c8e27b4.tar.zst
yuzu-b78ffc4abf57a85a0caaaeb7bf6a51901c8e27b4.zip
Diffstat (limited to 'src/core/hle/service/vi')
-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:
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<u32_le>(0);
- Write<u32_le>(FENCE_HACK);
- Write<u32_le>(0);
- Write(buffer);
Write<u32_le>(0);
}