mirror of
https://gitlab.com/Theopse/fbi-i18n-zh.git
synced 2025-04-06 03:58:02 +08:00
Add TWL photo access.
This commit is contained in:
parent
e49145d84d
commit
178210b0db
@ -8,13 +8,14 @@
|
||||
#include "section/section.h"
|
||||
#include "../screen.h"
|
||||
|
||||
#define MAINMENU_ITEM_COUNT 11
|
||||
#define MAINMENU_ITEM_COUNT 12
|
||||
|
||||
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_ctr_nand},
|
||||
{"TWL NAND", 0xFF000000, files_open_twl_nand},
|
||||
{"TWL Photo", 0xFF000000, files_open_twl_photo},
|
||||
{"Dump NAND", 0xFF000000, dump_nand},
|
||||
{"Titles", 0xFF000000, titles_open},
|
||||
{"Pending Titles", 0xFF000000, pendingtitles_open},
|
||||
|
@ -275,4 +275,9 @@ void files_open_ctr_nand() {
|
||||
void files_open_twl_nand() {
|
||||
FS_Archive sdmcArchive = {ARCHIVE_NAND_TWL_FS, fsMakePath(PATH_EMPTY, "")};
|
||||
files_open(sdmcArchive);
|
||||
}
|
||||
|
||||
void files_open_twl_photo() {
|
||||
FS_Archive sdmcArchive = {ARCHIVE_TWL_PHOTO, fsMakePath(PATH_EMPTY, "")};
|
||||
files_open(sdmcArchive);
|
||||
}
|
@ -8,6 +8,7 @@ void files_open(FS_Archive archive);
|
||||
void files_open_sd();
|
||||
void files_open_ctr_nand();
|
||||
void files_open_twl_nand();
|
||||
void files_open_twl_photo();
|
||||
void networkinstall_open(FS_MediaType dest);
|
||||
void networkinstall_open_sd();
|
||||
void networkinstall_open_nand();
|
||||
|
Loading…
x
Reference in New Issue
Block a user