Explorar o código

cleanup commenting

Chloe Marcec %!s(int64=5) %!d(string=hai) anos
pai
achega
56742c6222
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/core/hle/kernel/k_resource_limit.cpp

+ 2 - 2
src/core/hle/kernel/k_resource_limit.cpp

@@ -98,12 +98,12 @@ bool KResourceLimit::Reserve(LimitableResource which, s64 value, s64 timeout) {
         return false;
         return false;
     }
     }
 
 
-    /* Loop until we reserve or run out of time. */
+    // Loop until we reserve or run out of time.
     while (true) {
     while (true) {
         ASSERT(current_values[index] <= limit_values[index]);
         ASSERT(current_values[index] <= limit_values[index]);
         ASSERT(current_hints[index] <= current_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]) {
         if (current_values[index] + value <= current_values[index]) {
             break;
             break;
         }
         }