From a9f30b13018bcc0f47209df75e63b0bb5ba0ee97 Mon Sep 17 00:00:00 2001 From: Steven Smith Date: Fri, 8 Apr 2016 19:56:25 -0700 Subject: [PATCH] Remove failed NAND access experiment. --- source/ui/mainmenu.c | 4 +--- source/ui/section/files.c | 10 ---------- source/ui/section/section.h | 2 -- 3 files changed, 1 insertion(+), 15 deletions(-) diff --git a/source/ui/mainmenu.c b/source/ui/mainmenu.c index de2cbf4..4567e82 100644 --- a/source/ui/mainmenu.c +++ b/source/ui/mainmenu.c @@ -8,13 +8,11 @@ #include "section/section.h" #include "../screen.h" -#define MAINMENU_ITEM_COUNT 10 +#define MAINMENU_ITEM_COUNT 8 static u32 mainmenu_item_count = MAINMENU_ITEM_COUNT; static list_item mainmenu_items[MAINMENU_ITEM_COUNT] = { {"SD", 0xFF000000, files_open_sd}, - {"CTR NAND", 0xFF000000, files_open_ctrnand}, - {"TWL NAND", 0xFF000000, files_open_twlnand}, {"Titles", 0xFF000000, titles_open}, {"Pending Titles", 0xFF000000, pendingtitles_open}, {"Tickets", 0xFF000000, tickets_open}, diff --git a/source/ui/section/files.c b/source/ui/section/files.c index 80c25c4..ebc120e 100644 --- a/source/ui/section/files.c +++ b/source/ui/section/files.c @@ -245,14 +245,4 @@ void files_open(FS_Archive archive) { void files_open_sd() { FS_Archive sdmcArchive = {ARCHIVE_SDMC, {PATH_BINARY, 0, (void*) ""}}; files_open(sdmcArchive); -} - -void files_open_ctrnand() { - FS_Archive ctrNandArchive = {ARCHIVE_NAND_CTR_FS, {PATH_BINARY, 0, (void*) ""}}; - files_open(ctrNandArchive); -} - -void files_open_twlnand() { - FS_Archive twlNandArchive = {ARCHIVE_NAND_TWL_FS, {PATH_BINARY, 0, (void*) ""}}; - files_open(twlNandArchive); } \ No newline at end of file diff --git a/source/ui/section/section.h b/source/ui/section/section.h index ac8e8dc..b3672b6 100644 --- a/source/ui/section/section.h +++ b/source/ui/section/section.h @@ -5,8 +5,6 @@ void extsavedata_open(); void files_open(FS_Archive archive); void files_open_sd(); -void files_open_ctrnand(); -void files_open_twlnand(); void networkinstall_open(FS_MediaType dest); void networkinstall_open_sd(); void networkinstall_open_nand();