From f31070447298ad1a82ef4bdd7846761b974c2f1b Mon Sep 17 00:00:00 2001 From: ITotalJustice <47043333+ITotalJustice@users.noreply.github.com> Date: Fri, 2 May 2025 00:02:09 +0100 Subject: [PATCH] bump nca key generation values for fw 20.0.0 --- sphaira/include/yati/nx/nca.hpp | 1 + sphaira/source/yati/nx/nca.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/sphaira/include/yati/nx/nca.hpp b/sphaira/include/yati/nx/nca.hpp index 80d0a04..f23a9f2 100644 --- a/sphaira/include/yati/nx/nca.hpp +++ b/sphaira/include/yati/nx/nca.hpp @@ -41,6 +41,7 @@ enum KeyGeneration { KeyGeneration_1700 = 0x11, KeyGeneration_1800 = 0x12, KeyGeneration_1900 = 0x13, + KeyGeneration_2000 = 0x14, KeyGeneration_Invalid = 0xFF, }; diff --git a/sphaira/source/yati/nx/nca.cpp b/sphaira/source/yati/nx/nca.cpp index a8ae260..143b4ab 100644 --- a/sphaira/source/yati/nx/nca.cpp +++ b/sphaira/source/yati/nx/nca.cpp @@ -172,6 +172,7 @@ auto GetKeyGenStr(u8 key_gen) -> const char* { case KeyGeneration_1700: return "17.0.0"; case KeyGeneration_1800: return "18.0.0"; case KeyGeneration_1900: return "19.0.0"; + case KeyGeneration_2000: return "20.0.0"; } return "Unknown";