mirror of
https://github.com/CTCaer/hekate.git
synced 2024-11-22 18:06:40 +00:00
hos: Fix a long standing bug with kip1 patches
The kip1 patcher since its inception was checking for patches wrongly. This would create an edge case scenario, where up to 1 patch could be skipped.
This commit is contained in:
parent
d607a8830b
commit
c2160ae367
1 changed files with 5 additions and 4 deletions
|
@ -1095,11 +1095,12 @@ const char* pkg2_patch_kips(link_t *info, char* patchNames)
|
|||
{
|
||||
for (u32 i = 0; i < numPatches; i++)
|
||||
{
|
||||
// Continue if patch name does not match.
|
||||
if (strcmp(currPatchset->name, patches[i]) != 0)
|
||||
{
|
||||
bitsAffected = i + 1;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
|
||||
bitsAffected = i + 1;
|
||||
break;
|
||||
}
|
||||
currPatchset++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue