hos: pull missed se adjusted return values

And fix nogc patches.
This commit is contained in:
CTCaer authored and NaGa committed 2026-03-27 20:44:29 +01:00
1 parent fee45ff62d
commit d086da50d7
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -670,7 +670,7 @@ static bool _get_fs_exfat_compatible(link_t *info, u32 *hos_revision)
if (strcmp((char *)ki->kip1->name, "FS"))
continue;
if (!se_sha_hash_256_oneshot(sha_buf, ki->kip1, ki->size))
if (se_sha_hash_256_oneshot(sha_buf, ki->kip1, ki->size))
break;
pkg2_get_ids(&kip_ids, &fs_ids_cnt);
+1 -1
View File
@@ -545,7 +545,7 @@ const char *pkg2_patch_kips(link_t *info, char *patch_names)
// Check if current KIP not hashed and hash it.
if (kip_hash[0] == 0)
if (!se_sha_hash_256_oneshot(kip_hash, ki->kip1, ki->size))
if (se_sha_hash_256_oneshot(kip_hash, ki->kip1, ki->size))
memset(kip_hash, 0, sizeof(kip_hash));
// Check if kip is the expected version.
+2 -2
View File
@@ -877,7 +877,7 @@ static const kip1_patch_t _fs_nogc_2200[] = {
};
static const kip1_patchset_t _fs_patches_2200[] = {
{ "nogc", _fs_nogc_2100 },
{ "nogc", _fs_nogc_2200 },
{ NULL, NULL }
};
@@ -889,7 +889,7 @@ static const kip1_patch_t _fs_nogc_2200_exfat[] = {
};
static const kip1_patchset_t _fs_patches_2200_exfat[] = {
{ "nogc", _fs_nogc_2100_exfat },
{ "nogc", _fs_nogc_2200_exfat },
{ NULL, NULL }
};