diff options
| author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-06-10 13:56:35 -0400 |
|---|---|---|
| committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-06-11 00:58:04 -0400 |
| commit | aa79ca7a7a0099cd208a5afe75d657bb02f97fb3 (patch) | |
| tree | 6bfd95d5f1a6721696ec9c505a67b4c9ef45a76e /src/core/hle/kernel/k_resource_limit.cpp | |
| parent | 4547b2735a7e663be436bca54ed83da06a109c86 (diff) | |
kernel: KLightConditionVariable: Update implementation to 12.x
Updates the implementation of KLightConditionVariable to FW 12.x
Diffstat (limited to 'src/core/hle/kernel/k_resource_limit.cpp')
| -rw-r--r-- | src/core/hle/kernel/k_resource_limit.cpp | 2 |
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; |
