fusee/exo: implement the usual changes for new firmware support

This commit is contained in:
Michael Scire 2023-02-21 15:12:27 -07:00
parent 1ee342725e
commit 507bc3ddd5
3 changed files with 4 additions and 2 deletions

View File

@ -35,6 +35,7 @@ namespace ams::pkg1 {
KeyGeneration_13_0_0 = 0x0C, KeyGeneration_13_0_0 = 0x0C,
KeyGeneration_14_0_0 = 0x0D, KeyGeneration_14_0_0 = 0x0D,
KeyGeneration_15_0_0 = 0x0E, KeyGeneration_15_0_0 = 0x0E,
KeyGeneration_16_0_0 = 0x0F,
KeyGeneration_Count, KeyGeneration_Count,

View File

@ -23,8 +23,8 @@ namespace ams::pkg2 {
constexpr inline int PayloadCount = 3; constexpr inline int PayloadCount = 3;
constexpr inline int MinimumValidDataVersion = 0; /* We allow older package2 to load; this value is currently 0x16 in Nintendo's code. */ constexpr inline int MinimumValidDataVersion = 0; /* We allow older package2 to load; this value is currently 0x17 in Nintendo's code. */
constexpr inline int CurrentBootloaderVersion = 0x12; constexpr inline int CurrentBootloaderVersion = 0x13;
struct Package2Meta { struct Package2Meta {
using Magic = util::FourCC<'P','K','2','1'>; using Magic = util::FourCC<'P','K','2','1'>;

View File

@ -177,6 +177,7 @@ namespace ams::fuse {
} }
constexpr const TargetFirmware FuseVersionIncrementFirmwares[] = { constexpr const TargetFirmware FuseVersionIncrementFirmwares[] = {
TargetFirmware_16_0_0,
TargetFirmware_15_0_0, TargetFirmware_15_0_0,
TargetFirmware_13_2_1, TargetFirmware_13_2_1,
TargetFirmware_12_0_2, TargetFirmware_12_0_2,