mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-10 14:11:43 +00:00
Loader: Fix KAC parsing infloop.
This commit is contained in:
parent
5a7f9f10b1
commit
16439fd336
1 changed files with 1 additions and 1 deletions
|
@ -369,7 +369,7 @@ Result NpdmUtils::ValidateCapabilities(u32 *acid_caps, size_t num_acid_caps, u32
|
|||
Result rc = 0;
|
||||
size_t remaining = num_aci0_caps;
|
||||
u32 *cur_cap = aci0_caps;
|
||||
while (num_aci0_caps) {
|
||||
while (remaining) {
|
||||
if (R_FAILED((rc = ValidateCapabilityAgainstRestrictions(acid_caps, num_acid_caps, cur_cap, remaining)))) {
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue