fusee/exo/ams: update with new keydata/version enums

This commit is contained in:
hexkyz
2026-09-10 15:31:12 +01:00
parent 6e6af69424
commit 3d3f0c2daf
13 changed files with 47 additions and 16 deletions

View File

@@ -21,7 +21,7 @@ namespace ams::fs::impl {
#define ADD_ENUM_CASE(v) case v: return #v
template<> const char *IdString::ToString<pkg1::KeyGeneration>(pkg1::KeyGeneration id) {
static_assert(pkg1::KeyGeneration_Current == pkg1::KeyGeneration_22_0_0);
static_assert(pkg1::KeyGeneration_Current == pkg1::KeyGeneration_23_0_0);
switch (id) {
using enum pkg1::KeyGeneration;
case KeyGeneration_1_0_0: return "1.0.0-2.3.0";
@@ -45,7 +45,8 @@ namespace ams::fs::impl {
case KeyGeneration_19_0_0: return "19.0.0-19.0.1";
case KeyGeneration_20_0_0: return "20.0.0-20.5.0";
case KeyGeneration_21_0_0: return "21.0.0-21.2.0";
case KeyGeneration_22_0_0: return "22.0.0";
case KeyGeneration_22_0_0: return "22.0.0-22.5.0";
case KeyGeneration_23_0_0: return "23.0.0";
default: return "Unknown";
}
}