summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_resource_limit.cpp
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-06-10 19:56:35 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-06-11 06:58:04 +0200
commitaa79ca7a7a0099cd208a5afe75d657bb02f97fb3 (patch)
tree6bfd95d5f1a6721696ec9c505a67b4c9ef45a76e /src/core/hle/kernel/k_resource_limit.cpp
parentMerge pull request #6444 from bunnei/fix-sm-sessions (diff)
downloadyuzu-aa79ca7a7a0099cd208a5afe75d657bb02f97fb3.tar
yuzu-aa79ca7a7a0099cd208a5afe75d657bb02f97fb3.tar.gz
yuzu-aa79ca7a7a0099cd208a5afe75d657bb02f97fb3.tar.bz2
yuzu-aa79ca7a7a0099cd208a5afe75d657bb02f97fb3.tar.lz
yuzu-aa79ca7a7a0099cd208a5afe75d657bb02f97fb3.tar.xz
yuzu-aa79ca7a7a0099cd208a5afe75d657bb02f97fb3.tar.zst
yuzu-aa79ca7a7a0099cd208a5afe75d657bb02f97fb3.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/k_resource_limit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_resource_limit.cpp b/src/core/hle/kernel/k_resource_limit.cpp
index f91cb65dc..da88f35bc 100644
--- a/src/core/hle/kernel/k_resource_limit.cpp
+++ b/src/core/hle/kernel/k_resource_limit.cpp
@@ -117,7 +117,7 @@ bool KResourceLimit::Reserve(LimitableResource which, s64 value, s64 timeout) {
if (current_hints[index] + value <= limit_values[index] &&
(timeout < 0 || core_timing->GetGlobalTimeNs().count() < timeout)) {
waiter_count++;
- cond_var.Wait(&lock, timeout);
+ cond_var.Wait(&lock, timeout, false);
waiter_count--;
} else {
break;