pkg3: actually skip if instructed

This commit is contained in:
CTCaer authored and Christoph Baumann committed 2025-05-13 16:26:52 +02:00
1 parent a1f48e858e
commit 7927cfe818
1 file changed
+9 -3
+9 -3
View File
@@ -208,12 +208,18 @@ int parse_pkg3(launch_ctxt_t *ctxt, const char *path)
if (stock)
continue;
for (u32 k = 0; k < pkg3_kip1_skip_num; k++) {
if (!strcmp(curr_pkg3_cnt[i].name, pkg3_kip1_skip[k])) {
bool should_skip = false;
for (u32 k = 0; k < pkg3_kip1_skip_num; k++)
{
if (!strcmp(curr_pkg3_cnt[i].name, pkg3_kip1_skip[k]))
{
gfx_printf("Skipped %s.kip1 from PKG3\n", curr_pkg3_cnt[i].name);
continue;
should_skip = true;
break;
}
}
if (should_skip)
continue;
merge_kip_t *mkip1 = (merge_kip_t *)malloc(sizeof(merge_kip_t));
mkip1->kip1 = content;