hos: small refactor

This commit is contained in:
CTCaer
2024-03-27 09:38:39 +02:00
parent 368ca21316
commit 471b99366d
2 changed files with 15 additions and 12 deletions

View File

@@ -445,6 +445,8 @@ const char *pkg2_patch_kips(link_t *info, char *patch_names)
if (patch_names == NULL || patch_names[0] == 0)
return NULL;
gfx_printf("%kPatching kips%k\n", TXT_CLR_ORANGE, TXT_CLR_DEFAULT);
static const u32 MAX_NUM_PATCHES_REQUESTED = sizeof(u32) * 8;
char *patches[MAX_NUM_PATCHES_REQUESTED];