From b51dd1674c5f8f019c4ec8f0b975c3b4dd8bfb63 Mon Sep 17 00:00:00 2001 From: Pablo Curiel Date: Fri, 18 Mar 2022 20:23:11 +0100 Subject: [PATCH] gamecard: remove references to boot partition. --- include/core/gamecard.h | 3 +-- source/core/gamecard.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/include/core/gamecard.h b/include/core/gamecard.h index 04d4009..d240d36 100644 --- a/include/core/gamecard.h +++ b/include/core/gamecard.h @@ -240,8 +240,7 @@ typedef enum { GameCardHashFileSystemPartitionType_Logo = 3, ///< Only available in GameCardFwVersion_Since400NUP or greater gamecards. GameCardHashFileSystemPartitionType_Normal = 4, GameCardHashFileSystemPartitionType_Secure = 5, - GameCardHashFileSystemPartitionType_Boot = 6, - GameCardHashFileSystemPartitionType_Count = 7 ///< Not a real value. + GameCardHashFileSystemPartitionType_Count = 6 ///< Total values supported by this enum. } GameCardHashFileSystemPartitionType; typedef enum { diff --git a/source/core/gamecard.c b/source/core/gamecard.c index a668d08..c52623d 100644 --- a/source/core/gamecard.c +++ b/source/core/gamecard.c @@ -100,8 +100,7 @@ static const char *g_gameCardHfsPartitionNames[] = { [GAMECARD_HFS_PARTITION_NAME_INDEX(GameCardHashFileSystemPartitionType_Update)] = "update", [GAMECARD_HFS_PARTITION_NAME_INDEX(GameCardHashFileSystemPartitionType_Logo)] = "logo", [GAMECARD_HFS_PARTITION_NAME_INDEX(GameCardHashFileSystemPartitionType_Normal)] = "normal", - [GAMECARD_HFS_PARTITION_NAME_INDEX(GameCardHashFileSystemPartitionType_Secure)] = "secure", - [GAMECARD_HFS_PARTITION_NAME_INDEX(GameCardHashFileSystemPartitionType_Boot)] = "boot" + [GAMECARD_HFS_PARTITION_NAME_INDEX(GameCardHashFileSystemPartitionType_Secure)] = "secure" }; static const char *g_gameCardHosVersionStrings[GameCardFwVersion_Count] = {