From a2177c0510cdaea56a532901a8b28a54c7a807e4 Mon Sep 17 00:00:00 2001 From: TuxSH Date: Thu, 5 Apr 2018 23:40:18 +0200 Subject: [PATCH] Fix menu entries (again) --- sysmodules/rosalina/source/menu.c | 2 +- sysmodules/rosalina/source/menus.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sysmodules/rosalina/source/menu.c b/sysmodules/rosalina/source/menu.c index 20cf52b..96a8469 100644 --- a/sysmodules/rosalina/source/menu.c +++ b/sysmodules/rosalina/source/menu.c @@ -143,7 +143,7 @@ void menuThreadMain(void) if(!isN3DS) { rosalinaMenu.nbItems--; - for(u32 i = 3; i <= rosalinaMenu.nbItems; i++) + for(u32 i = 0; 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 af76b55..97a8166 100644 --- a/sysmodules/rosalina/source/menus.c +++ b/sysmodules/rosalina/source/menus.c @@ -43,10 +43,10 @@ Menu rosalinaMenu = { "Rosalina menu", .nbItems = 10, { - { "Cheats...", METHOD, .method = &RosalinaMenu_Cheats }, + { "New 3DS menu...", MENU, .menu = &N3DSMenu }, + { "Cheats...", METHOD, .method = &RosalinaMenu_Cheats }, { "Process list", METHOD, .method = &RosalinaMenu_ProcessList }, { "Take screenshot (slow!)", METHOD, .method = &RosalinaMenu_TakeScreenshot }, - { "New 3DS menu...", MENU, .menu = &N3DSMenu }, { "Debugger options...", MENU, .menu = &debuggerMenu }, { "System configuration...", MENU, .menu = &sysconfigMenu }, { "Miscellaneous options...", MENU, .menu = &miscellaneousMenu }, @@ -68,7 +68,7 @@ void RosalinaMenu_ShowCredits(void) Draw_Lock(); Draw_DrawString(10, 10, COLOR_TITLE, "Rosalina -- Luma3DS credits"); - u32 posY = Draw_DrawString(10, 30, COLOR_WHITE, "Luma3DS (c) 2016-2017 AuroraWright, TuxSH") + SPACING_Y; + u32 posY = Draw_DrawString(10, 30, COLOR_WHITE, "Luma3DS (c) 2016-2018 AuroraWright, TuxSH") + SPACING_Y; posY = Draw_DrawString(10, posY + SPACING_Y, COLOR_WHITE, "3DSX loading code by fincs"); posY = Draw_DrawString(10, posY + SPACING_Y, COLOR_WHITE, "Networking code & basic GDB functionality by Stary");