diff --git a/include/arm11/menu/bootslot.h b/include/arm11/menu/bootslot.h index f7e0b9b..a59f3bb 100644 --- a/include/arm11/menu/bootslot.h +++ b/include/arm11/menu/bootslot.h @@ -20,7 +20,7 @@ #include "types.h" -#define N_BOOTSLOTS 3 +#define N_BOOTSLOTS 6 #define INVALID_BOOT_SLOT 0xFF u8 readStoredBootslot(void); diff --git a/include/arm11/menu/menu_fb3ds.h b/include/arm11/menu/menu_fb3ds.h index 6c3faf5..3f63858 100644 --- a/include/arm11/menu/menu_fb3ds.h +++ b/include/arm11/menu/menu_fb3ds.h @@ -98,7 +98,10 @@ { SUBENTRY_SLOT_BOOT(1), SUBENTRY_SLOT_BOOT(2), - SUBENTRY_SLOT_BOOT(3) + SUBENTRY_SLOT_BOOT(3), + SUBENTRY_SLOT_BOOT(4), + SUBENTRY_SLOT_BOOT(5), + SUBENTRY_SLOT_BOOT(6) } }, { // 2 @@ -107,6 +110,9 @@ SUBENTRY_SLOT_SETUP(1,6), SUBENTRY_SLOT_SETUP(2,6), SUBENTRY_SLOT_SETUP(3,6), + SUBENTRY_SLOT_SETUP(4,6), + SUBENTRY_SLOT_SETUP(5,6), + SUBENTRY_SLOT_SETUP(6,6), { "Change boot mode...", DESC_CHANGE_BOOT, NULL, 3 } } }, @@ -137,7 +143,10 @@ SUBMENU_SLOT_SETUP(1), // 6 SUBMENU_SLOT_SETUP(2), // 7 SUBMENU_SLOT_SETUP(3), // 8 - /*{ // 9 + SUBMENU_SLOT_SETUP(4), // 9 + SUBMENU_SLOT_SETUP(5), // 10 + SUBMENU_SLOT_SETUP(6), // 11 + /*{ // 12 "Debug", 2, NULL, 0, // this will not show in the release version { { "View current settings", LOREM, &debugSettingsView, 0 }, diff --git a/include/arm11/menu/menu_func.h b/include/arm11/menu/menu_func.h index 135fd01..b2b601d 100644 --- a/include/arm11/menu/menu_func.h +++ b/include/arm11/menu/menu_func.h @@ -30,6 +30,12 @@ u32 menuPresetSlotConfig1(void); u32 menuPresetSlotConfig2(void); u32 menuPresetSlotConfig3(void); +u32 menuPresetSlotConfig4(void); +u32 menuPresetSlotConfig5(void); +u32 menuPresetSlotConfig6(void); +u32 menuPresetSlotConfig7(void); +u32 menuPresetSlotConfig8(void); +u32 menuPresetSlotConfig9(void); u32 menuPresetBootMode(void); u32 menuSetBootMode(PrintConsole* term_con, PrintConsole* menu_con, u32 param); diff --git a/source/arm11/menu/menu_func.c b/source/arm11/menu/menu_func.c index f32688e..fda5523 100644 --- a/source/arm11/menu/menu_func.c +++ b/source/arm11/menu/menu_func.c @@ -109,6 +109,12 @@ PRESET_SLOT_CONFIG_FUNC(1) PRESET_SLOT_CONFIG_FUNC(2) PRESET_SLOT_CONFIG_FUNC(3) +PRESET_SLOT_CONFIG_FUNC(4) +PRESET_SLOT_CONFIG_FUNC(5) +PRESET_SLOT_CONFIG_FUNC(6) +PRESET_SLOT_CONFIG_FUNC(7) +PRESET_SLOT_CONFIG_FUNC(8) +PRESET_SLOT_CONFIG_FUNC(9) u32 menuPresetBootMode(void) {