summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-02-13 22:23:53 -0500
committerSubv <subv2112@gmail.com>2018-02-14 22:57:55 -0500
commitb78ffc4abf57a85a0caaaeb7bf6a51901c8e27b4 (patch)
treeaff10eae0772593c5b3238fe46a3ae1b35bb60b2 /src
parent8dee5663b3b2ae5dd1b5a4b9eeacf030caa0de9a (diff)
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:
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);
}