aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/k_resource_limit.cpp
diff options
context:
space:
mode:
authorChloe Marcec <dmarcecguzman@gmail.com>2021-01-30 21:20:35 +1100
committerChloe Marcec <dmarcecguzman@gmail.com>2021-01-30 21:20:35 +1100
commitdea89a59c9a923995d6f7f2b4b4a59dc98147b47 (patch)
treeebd7e4b4d80e39ce533ec288c0c07f459e66eb92 /src/core/hle/kernel/k_resource_limit.cpp
parent3edb06af11f566696b9a42a319208faa3b3136a1 (diff)
cleanup commenting
Diffstat (limited to 'src/core/hle/kernel/k_resource_limit.cpp')
-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 65c30e9b3b..1bcc390ff9 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) {
return false;
}
- /* Loop until we reserve or run out of time. */
+ // Loop until we reserve or run out of time.
while (true) {
ASSERT(current_values[index] <= limit_values[index]);
ASSERT(current_hints[index] <= current_values[index]);
- /* If we would overflow, don't allow to succeed. */
+ // If we would overflow, don't allow to succeed.
if (current_values[index] + value <= current_values[index]) {
break;
}