summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/vi/vi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/service/vi/vi.cpp')
-rw-r--r--src/core/hle/service/vi/vi.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp
index 7508443a8..589a4937c 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<u32_le>(1);
-
- Write<u32_le>(sizeof(NVFlinger::IGBPBuffer));
- Write<u32_le>(0); // Unknown
-
+ // TODO(bunnei): Find out what this all means. Writing anything non-zero here breaks libnx.
+ Write<u32_le>(0);
+ Write<u32_le>(0);
+ Write<u32_le>(0);
Write(buffer);
-
Write<u32_le>(0);
}