From 9ae913064ca0ee450b41290738bc757748eb90f4 Mon Sep 17 00:00:00 2001 From: TuxSH <1922548+TuxSH@users.noreply.github.com> Date: Fri, 15 May 2020 02:29:17 +0100 Subject: [PATCH] rosalina: reorder menus --- sysmodules/rosalina/source/menu.c | 2 +- sysmodules/rosalina/source/menus.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sysmodules/rosalina/source/menu.c b/sysmodules/rosalina/source/menu.c index b6cfd7d..0c947fa 100644 --- a/sysmodules/rosalina/source/menu.c +++ b/sysmodules/rosalina/source/menu.c @@ -159,7 +159,7 @@ void menuThreadMain(void) if(!isN3DS) { rosalinaMenu.nbItems--; - for(u32 i = 0; i <= rosalinaMenu.nbItems; i++) + for(u32 i = 6; i <= rosalinaMenu.nbItems; i++) rosalinaMenu.items[i] = rosalinaMenu.items[i+1]; } else diff --git a/sysmodules/rosalina/source/menus.c b/sysmodules/rosalina/source/menus.c index 46522fb..a4b6739 100644 --- a/sysmodules/rosalina/source/menus.c +++ b/sysmodules/rosalina/source/menus.c @@ -44,13 +44,13 @@ Menu rosalinaMenu = { "Rosalina menu", .nbItems = 11, { - { "New 3DS menu...", MENU, .menu = &N3DSMenu }, + { "Take screenshot", METHOD, .method = &RosalinaMenu_TakeScreenshot }, { "Cheats...", METHOD, .method = &RosalinaMenu_Cheats }, { "Process list", METHOD, .method = &RosalinaMenu_ProcessList }, - { "Take screenshot (slow!)", METHOD, .method = &RosalinaMenu_TakeScreenshot }, { "Debugger options...", MENU, .menu = &debuggerMenu }, { "System configuration...", MENU, .menu = &sysconfigMenu }, { "Screen filters...", MENU, .menu = &screenFiltersMenu }, + { "New 3DS menu...", MENU, .menu = &N3DSMenu }, { "Miscellaneous options...", MENU, .menu = &miscellaneousMenu }, { "Power off", METHOD, .method = &RosalinaMenu_PowerOff }, { "Reboot", METHOD, .method = &RosalinaMenu_Reboot },