From 2662de6e52344e082bc5855ea0e3e791588862c6 Mon Sep 17 00:00:00 2001 From: Subv Date: Sat, 17 Feb 2018 14:00:30 -0500 Subject: [PATCH] Vi: Mark all fences as NO_FENCE in the DequeueBuffer response parcel. --- src/core/hle/service/vi/vi.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp index e5f196158..1afd5a4fb 100644 --- a/src/core/hle/service/vi/vi.cpp +++ b/src/core/hle/service/vi/vi.cpp @@ -288,8 +288,8 @@ protected: // TODO(Subv): Find out how this Fence is used. BufferProducerFence fence = {}; fence.is_valid = 1; - fence.fences[0].id = 0; - fence.fences[0].value = 0; + for (auto& fence_ : fence.fences) + fence_.id = -1; Write(slot); Write(1);