From 53bbb3c7a645d19c2629885a2eb0aa89984fed2e Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Mon, 16 Mar 2026 18:31:27 +0000 Subject: [PATCH] Add new data types for Nintendo Wii and GameCube: introduce WiiPartitionKeyMap and NgcwJunkMap for enhanced region mapping --- include/aaru.h | 4 +++- include/aaruformat/enums.h | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/include/aaru.h b/include/aaru.h index 63718aa..328110c 100644 --- a/include/aaru.h +++ b/include/aaru.h @@ -1080,7 +1080,9 @@ typedef enum kMediaTagPs3Pic = 80, ///< PS3 PIC data (115 bytes, from disc lead-in) kMediaTagPs3EncryptionMap = 81, ///< PS3 encryption region map (serialized from sector 0) kMediaTagWiiUPartitionKeyMap = 82, ///< Nintendo Wii U partition-to-key mapping with regions - MaxMediaTag = kMediaTagWiiUPartitionKeyMap + kMediaTagWiiPartitionKeyMap = 83, ///< Nintendo Wii partition-to-key mapping with regions + kMediaTagNgcwJunkMap = 84, ///< Nintendo GameCube/Wii junk region map with LFG seeds + MaxMediaTag = kMediaTagNgcwJunkMap } MediaTagType; /** @} */ /* end of MediaTags group */ diff --git a/include/aaruformat/enums.h b/include/aaruformat/enums.h index 4ed9406..644ee91 100644 --- a/include/aaruformat/enums.h +++ b/include/aaruformat/enums.h @@ -141,6 +141,8 @@ typedef enum kDataTypePs3Pic = 96, ///< PS3 PIC data (115 bytes, from disc lead-in) kDataTypePs3EncryptionMap = 97, ///< PS3 encryption region map (serialized from sector 0) kDataTypeWiiUPartitionKeyMap = 98, ///< Nintendo Wii U partition-to-key mapping with regions + kDataTypeWiiPartitionKeyMap = 99, ///< Nintendo Wii partition-to-key mapping with regions + kDataTypeNgcwJunkMap = 100, ///< Nintendo GameCube/Wii junk region map with LFG seeds } DataType; /**