hos: pull missed se adjusted return values

And fix nogc patches.
This commit is contained in:
CTCaer
2026-03-19 21:10:20 +02:00
parent 0805f619ab
commit fc493cd999
3 changed files with 4 additions and 4 deletions

View File

@@ -668,7 +668,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);

View File

@@ -542,7 +542,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.

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