1
0
mirror of https://github.com/CTCaer/hekate.git synced 2024-11-20 05:11:42 +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:
CTCaer 2020-06-14 13:55:41 +03:00
parent d607a8830b
commit c2160ae367

View File

@ -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++;
}