summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-02-17 19:59:45 +0100
committerSubv <subv2112@gmail.com>2018-02-17 19:59:45 +0100
commit1b64160d835d23141cb150cb1ea9b2ab62b5c835 (patch)
treed83adfc30de6b164940e8d92807ead3785ad88de
parentnvhost-ctrl: Stub NVHOST_IOCTL_CTRL_EVENT_WAIT. (diff)
downloadyuzu-1b64160d835d23141cb150cb1ea9b2ab62b5c835.tar
yuzu-1b64160d835d23141cb150cb1ea9b2ab62b5c835.tar.gz
yuzu-1b64160d835d23141cb150cb1ea9b2ab62b5c835.tar.bz2
yuzu-1b64160d835d23141cb150cb1ea9b2ab62b5c835.tar.lz
yuzu-1b64160d835d23141cb150cb1ea9b2ab62b5c835.tar.xz
yuzu-1b64160d835d23141cb150cb1ea9b2ab62b5c835.tar.zst
yuzu-1b64160d835d23141cb150cb1ea9b2ab62b5c835.zip
-rw-r--r--src/core/hle/service/vi/vi.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp
index 048fe3a6f..e5f196158 100644
--- a/src/core/hle/service/vi/vi.cpp
+++ b/src/core/hle/service/vi/vi.cpp
@@ -325,7 +325,8 @@ protected:
void SerializeData() override {
// 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>(1);
+ WriteObject(buffer);
Write<u32_le>(0);
}