mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-14 11:49:58 +00:00
cleanup commenting
This commit is contained in:
parent
7791cfd960
commit
56742c6222
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue