summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Subv2018-02-13 23:03:02 -0500
committerGravatar Subv2018-02-14 22:57:56 -0500
commit35d0d06885c13a984c9dd648771107fbdeb81fa7 (patch)
tree10ca83b6ffa681b6975f24ed7fafa2128b9ee48e /src
parentVi: Added a missing u32 in the DequeueBuffer response parcel. (diff)
downloadyuzu-35d0d06885c13a984c9dd648771107fbdeb81fa7.tar.gz
yuzu-35d0d06885c13a984c9dd648771107fbdeb81fa7.tar.xz
yuzu-35d0d06885c13a984c9dd648771107fbdeb81fa7.zip
Vi: Mark the fences as valid in the DequeueBuffer response parcel.
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/vi/vi.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp
index 7a71a4b3d..048fe3a6f 100644
--- a/src/core/hle/service/vi/vi.cpp
+++ b/src/core/hle/service/vi/vi.cpp
@@ -287,6 +287,9 @@ protected:
287 void SerializeData() override { 287 void SerializeData() override {
288 // TODO(Subv): Find out how this Fence is used. 288 // TODO(Subv): Find out how this Fence is used.
289 BufferProducerFence fence = {}; 289 BufferProducerFence fence = {};
290 fence.is_valid = 1;
291 fence.fences[0].id = 0;
292 fence.fences[0].value = 0;
290 293
291 Write(slot); 294 Write(slot);
292 Write<u32_le>(1); 295 Write<u32_le>(1);