diff options
author | Subv <subv2112@gmail.com> | 2018-02-17 20:00:30 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-02-17 20:00:30 +0100 |
commit | 2662de6e52344e082bc5855ea0e3e791588862c6 (patch) | |
tree | 7da7c3e93240e7eddb974a15b1da655846a975ec /src/core/hle/service/vi/vi.cpp | |
parent | Vi: Always write the IGBPBuffer in the RequestBuffer response parcel. (diff) | |
download | yuzu-2662de6e52344e082bc5855ea0e3e791588862c6.tar yuzu-2662de6e52344e082bc5855ea0e3e791588862c6.tar.gz yuzu-2662de6e52344e082bc5855ea0e3e791588862c6.tar.bz2 yuzu-2662de6e52344e082bc5855ea0e3e791588862c6.tar.lz yuzu-2662de6e52344e082bc5855ea0e3e791588862c6.tar.xz yuzu-2662de6e52344e082bc5855ea0e3e791588862c6.tar.zst yuzu-2662de6e52344e082bc5855ea0e3e791588862c6.zip |
Diffstat (limited to 'src/core/hle/service/vi/vi.cpp')
-rw-r--r-- | src/core/hle/service/vi/vi.cpp | 4 |
1 files 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<u32_le>(1); |