summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-02-10 03:42:08 +0100
committerbunnei <bunneidev@gmail.com>2018-02-10 05:33:43 +0100
commit309276a3170b876ef7818dc42b7ef81a467fd83e (patch)
treeb846c6512d52c876a6947909cf87c2813f65d6b0
parentMerge pull request #171 from bunnei/libnx-fixes (diff)
downloadyuzu-309276a3170b876ef7818dc42b7ef81a467fd83e.tar
yuzu-309276a3170b876ef7818dc42b7ef81a467fd83e.tar.gz
yuzu-309276a3170b876ef7818dc42b7ef81a467fd83e.tar.bz2
yuzu-309276a3170b876ef7818dc42b7ef81a467fd83e.tar.lz
yuzu-309276a3170b876ef7818dc42b7ef81a467fd83e.tar.xz
yuzu-309276a3170b876ef7818dc42b7ef81a467fd83e.tar.zst
yuzu-309276a3170b876ef7818dc42b7ef81a467fd83e.zip
Diffstat (limited to '')
-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);
}