Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

Vi: Mark all fences as NO_FENCE in the DequeueBuffer response parcel.

Subv34f6578f622f
diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp
index e5f196158c..1afd5a4fb9 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<u32_le>(1);