From b15b46a68e709620c47666e347ae53a506c9c094 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Tue, 14 Apr 2020 03:45:11 -0700 Subject: [PATCH] fusee: identify 10.x fs kip --- fusee/fusee-secondary/src/emummc_cfg.h | 3 +++ fusee/fusee-secondary/src/ips.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/fusee/fusee-secondary/src/emummc_cfg.h b/fusee/fusee-secondary/src/emummc_cfg.h index e3a9dad65..7f30ecc21 100644 --- a/fusee/fusee-secondary/src/emummc_cfg.h +++ b/fusee/fusee-secondary/src/emummc_cfg.h @@ -82,6 +82,9 @@ typedef enum { FS_VER_9_1_0, FS_VER_9_1_0_EXFAT, + FS_VER_10_0_0, + FS_VER_10_0_0_EXFAT, + FS_VER_MAX, } emummc_fs_ver_t; diff --git a/fusee/fusee-secondary/src/ips.c b/fusee/fusee-secondary/src/ips.c index c2093ccb0..a07438a65 100644 --- a/fusee/fusee-secondary/src/ips.c +++ b/fusee/fusee-secondary/src/ips.c @@ -417,6 +417,9 @@ static const uint8_t g_fs_hashes[FS_VER_MAX][0x8] = { "\xB5\xE7\xA6\x4C\x6F\x5C\x4F\xE3", /* FS_VER_9_1_0 */ "\xF1\x96\xD1\x44\xD0\x44\x45\xB6", /* FS_VER_9_1_0_EXFAT */ + + "\x3E\xEB\xD9\xB7\xBC\xD1\xB5\xE0", /* FS_VER_10_0_0 */ + "\x81\x7E\xA2\xB0\xB7\x02\xC1\xF3", /* FS_VER_10_0_0_EXFAT */ }; kip1_header_t *apply_kip_ips_patches(kip1_header_t *kip, size_t kip_size, emummc_fs_ver_t *out_fs_ver) {