summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvdrv/devices
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2021-11-01 15:25:06 +0100
committerFernando Sahmkow <fsahmkow27@gmail.com>2022-10-06 21:00:51 +0200
commita21b8824fb8a0bd7bcb44fd50559f26718f5dbc4 (patch)
tree40af4d108c718844ea7a8370be9dad19c56806f2 /src/core/hle/service/nvdrv/devices
parentNVDRV: Implement QueryEvent. (diff)
downloadyuzu-a21b8824fb8a0bd7bcb44fd50559f26718f5dbc4.tar
yuzu-a21b8824fb8a0bd7bcb44fd50559f26718f5dbc4.tar.gz
yuzu-a21b8824fb8a0bd7bcb44fd50559f26718f5dbc4.tar.bz2
yuzu-a21b8824fb8a0bd7bcb44fd50559f26718f5dbc4.tar.lz
yuzu-a21b8824fb8a0bd7bcb44fd50559f26718f5dbc4.tar.xz
yuzu-a21b8824fb8a0bd7bcb44fd50559f26718f5dbc4.tar.zst
yuzu-a21b8824fb8a0bd7bcb44fd50559f26718f5dbc4.zip
Diffstat (limited to 'src/core/hle/service/nvdrv/devices')
-rw-r--r--src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp b/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp
index 9b393521a..55acd4f78 100644
--- a/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp
+++ b/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp
@@ -125,8 +125,10 @@ NvResult nvhost_ctrl::IocCtrlEventWait(const std::vector<u8>& input, std::vector
}
}();
+ must_unmark_fail = true;
+
const auto check_failing = [&]() {
- if (events_interface.fails[slot] > 1) {
+ if (events_interface.fails[slot] > 2) {
{
auto lk = system.StallProcesses();
gpu.WaitFence(fence_id, target_value);