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

This commit is contained in:
Alula authored and NaGa committed 2026-04-04 21:30:18 +02:00
1 parent b794d96c2c
commit db41e33507
13 files changed
+51 -17

No files matched your search

@@ -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_21_0_0);
static_assert(pkg1::KeyGeneration_Current == pkg1::KeyGeneration_22_0_0);
switch (id) {
using enum pkg1::KeyGeneration;
case KeyGeneration_1_0_0: return "1.0.0-2.3.0";
@@ -44,7 +44,8 @@ namespace ams::fs::impl {
case KeyGeneration_18_0_0: return "18.0.0-18.1.0";
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-";
case KeyGeneration_21_0_0: return "21.0.0-21.2.0";
case KeyGeneration_22_0_0: return "22.0.0";
default: return "Unknown";
}
}