From 77fa25e0e013c5f0a71daf94f4031b03bd73ac08 Mon Sep 17 00:00:00 2001 From: Pablo Curiel Date: Tue, 22 Mar 2022 02:20:09 +0100 Subject: [PATCH] HOS 14.0.0 shenanigans. --- include/core/nca.h | 5 +++-- source/core/title.c | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/core/nca.h b/include/core/nca.h index de62d76..2d3e392 100644 --- a/include/core/nca.h +++ b/include/core/nca.h @@ -85,7 +85,8 @@ typedef enum { NcaKeyGeneration_Since910NUP = 11, ///< 9.1.0 - 12.0.3. NcaKeyGeneration_Since1210NUP = 12, ///< 12.1.0. NcaKeyGeneration_Since1300NUP = 13, ///< 13.0.0 - 13.2.1. - NcaKeyGeneration_Current = NcaKeyGeneration_Since1300NUP, + NcaKeyGeneration_Since1400NUP = 14, ///< 14.0.0. + NcaKeyGeneration_Current = NcaKeyGeneration_Since1400NUP, NcaKeyGeneration_Max = 32 } NcaKeyGeneration; @@ -442,7 +443,7 @@ bool ncaReadContentFile(NcaContext *ctx, void *out, u64 read_size, u64 offset); /// If dealing with Patch RomFS sections, this function should only be used when *not* reading BKTR AesCtrEx storage data. Use ncaReadAesCtrExStorageFromBktrSection() for that. bool ncaReadFsSection(NcaFsSectionContext *ctx, void *out, u64 read_size, u64 offset); -/// Reads decrypted BKTR AesCtrEx storage data from a NCA Patch RomFS section using an input context and a AesCtrEx CTR value. +/// Reads decrypted BKTR AesCtrEx storage data from a NCA Patch RomFS section using an input context and an AesCtrEx CTR value. /// Input offset must be relative to the start of the NCA FS section. bool ncaReadAesCtrExStorageFromBktrSection(NcaFsSectionContext *ctx, void *out, u64 read_size, u64 offset, u32 ctr_val); diff --git a/source/core/title.c b/source/core/title.c index 8b33933..02ff9c7 100644 --- a/source/core/title.c +++ b/source/core/title.c @@ -164,6 +164,7 @@ static const TitleSystemEntry g_systemTitles[] = { { 0x0100000000000040, "nd" }, { 0x0100000000000041, "ngct" }, { 0x0100000000000042, "pgl" }, + { 0x0100000000000045, "omm" }, /* System data archives. */ /* Meta + Data NCAs. */