summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Chloe Marcec2021-01-30 21:20:35 +1100
committerGravatar Chloe Marcec2021-01-30 21:20:35 +1100
commit56742c6222b7185b43a3463955c58a142ed33c1e (patch)
treeebd7e4b4d80e39ce533ec288c0c07f459e66eb92 /src
parentDrop m_ from lock (diff)
downloadyuzu-56742c6222b7185b43a3463955c58a142ed33c1e.tar.gz
yuzu-56742c6222b7185b43a3463955c58a142ed33c1e.tar.xz
yuzu-56742c6222b7185b43a3463955c58a142ed33c1e.zip
cleanup commenting
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/kernel/k_resource_limit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/k_resource_limit.cpp b/src/core/hle/kernel/k_resource_limit.cpp
index 65c30e9b3..1bcc390ff 100644
--- a/src/core/hle/kernel/k_resource_limit.cpp
+++ b/src/core/hle/kernel/k_resource_limit.cpp
@@ -98,12 +98,12 @@ bool KResourceLimit::Reserve(LimitableResource which, s64 value, s64 timeout) {
98 return false; 98 return false;
99 } 99 }
100 100
101 /* Loop until we reserve or run out of time. */ 101 // Loop until we reserve or run out of time.
102 while (true) { 102 while (true) {
103 ASSERT(current_values[index] <= limit_values[index]); 103 ASSERT(current_values[index] <= limit_values[index]);
104 ASSERT(current_hints[index] <= current_values[index]); 104 ASSERT(current_hints[index] <= current_values[index]);
105 105
106 /* If we would overflow, don't allow to succeed. */ 106 // If we would overflow, don't allow to succeed.
107 if (current_values[index] + value <= current_values[index]) { 107 if (current_values[index] + value <= current_values[index]) {
108 break; 108 break;
109 } 109 }