VERY experimental Nintendo Switch 2 emulator
C++
cleanup commenting
Chloe Marcecdea89a59c9a9
diff --git a/src/core/hle/kernel/k_resource_limit.cpp b/src/core/hle/kernel/k_resource_limit.cppindex 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;}