From b3282131c4c091cfa9a57d59c1b6fc67f08a3a3f Mon Sep 17 00:00:00 2001 From: TuxSH <1922548+TuxSH@users.noreply.github.com> Date: Fri, 3 Apr 2026 00:44:38 +0200 Subject: [PATCH] Home Menu -> HOME Menu --- arm9/source/deliver_arg.c | 2 +- arm9/source/main.c | 2 +- .../source/fatalExceptionHandlersMain.c | 2 +- sysmodules/loader/source/patcher.c | 20 +++++++++---------- sysmodules/pm/source/termination.c | 2 +- sysmodules/rosalina/source/draw.c | 2 +- sysmodules/rosalina/source/menus.c | 4 ++-- .../rosalina/source/menus/miscellaneous.c | 4 ++-- 8 files changed, 19 insertions(+), 19 deletions(-) diff --git a/arm9/source/deliver_arg.c b/arm9/source/deliver_arg.c index d360e616..d0fddb67 100644 --- a/arm9/source/deliver_arg.c +++ b/arm9/source/deliver_arg.c @@ -123,7 +123,7 @@ bool isTwlToCtrLaunch(void) switch (twlTid & ~0xFFull) { - case 0x0000000000000000ull: // TWL Launcher -> Home menu (note: NS checks full TID) + case 0x0000000000000000ull: // TWL Launcher -> HOME menu (note: NS checks full TID) case 0x00030015484E4200ull: // TWL System Settings -> CTR System Settings (mset) return true; default: diff --git a/arm9/source/main.c b/arm9/source/main.c index dd0682e5..3af5eade 100644 --- a/arm9/source/main.c +++ b/arm9/source/main.c @@ -230,7 +230,7 @@ void main(int argc, char **argv, u32 magicWord) nandType = FIRMWARE_SYSNAND; // Prevent multiple boot options-forcing - // This bit is a bit weird. Basically, as you return to Home Menu by pressing either + // This bit is a bit weird. Basically, as you return to HOME Menu by pressing either // the HOME or POWER button, nandType will be overridden to "SysNAND" (needed). But, // if you reboot again (e.g. via Rosalina menu), it'll use your default settings. if(nandType != BOOTCFG_NAND) isNoForceFlagSet = true; diff --git a/k11_extension/source/fatalExceptionHandlersMain.c b/k11_extension/source/fatalExceptionHandlersMain.c index 8b214f5d..5b6e9e6e 100644 --- a/k11_extension/source/fatalExceptionHandlersMain.c +++ b/k11_extension/source/fatalExceptionHandlersMain.c @@ -87,7 +87,7 @@ bool isExceptionFatal(u32 spsr, u32 *regs, u32 index) if(thread != NULL && thread->threadLocalStorage != NULL && *((vu32 *)thread->threadLocalStorage + 0x10) != 0) return checkExceptionHandlerValidity(currentProcess, thread->threadLocalStorage); - if(index == 3 && strcmp(codeSetOfProcess(currentProcess)->processName, "menu") == 0 && // workaround a Home Menu bug leading to a dabort + if(index == 3 && strcmp(codeSetOfProcess(currentProcess)->processName, "menu") == 0 && // workaround a HOME Menu bug leading to a dabort regs[0] == 0x3FFF && regs[2] == 0 && regs[5] == 2 && regs[7] == 1) return false; } diff --git a/sysmodules/loader/source/patcher.c b/sysmodules/loader/source/patcher.c index 73d84193..f7452c0f 100644 --- a/sysmodules/loader/source/patcher.c +++ b/sysmodules/loader/source/patcher.c @@ -651,12 +651,12 @@ static inline bool patchLayeredFs(u64 progId, u8 *code, u32 size, u32 textSize, void patchCode(u64 progId, u16 progVer, u8 *code, u32 size, u32 textSize, u32 roSize, u32 dataSize, u32 roAddress, u32 dataAddress) { - bool isHomeMenu = progId == 0x0004003000008F02LL || //USA Home Menu - progId == 0x0004003000008202LL || //JPN Home Menu - progId == 0x0004003000009802LL || //EUR Home Menu - progId == 0x000400300000A902LL || //KOR Home Menu - progId == 0x000400300000A102LL || //CHN Home Menu - progId == 0x000400300000B102LL; //TWN Home Menu + bool isHomeMenu = progId == 0x0004003000008F02LL || //USA HOME Menu + progId == 0x0004003000008202LL || //JPN HOME Menu + progId == 0x0004003000009802LL || //EUR HOME Menu + progId == 0x000400300000A902LL || //KOR HOME Menu + progId == 0x000400300000A102LL || //CHN HOME Menu + progId == 0x000400300000B102LL; //TWN HOME Menu bool isApp = ((progId >> 32) & ~0x12) == 0x00040000; bool isApplet = (progId >> 32) == 0x00040030; @@ -668,12 +668,12 @@ void patchCode(u64 progId, u16 progVer, u8 *code, u32 size, u32 textSize, u32 ro switch(progId) { - case 0x0004003000008F02LL: //USA Home Menu - case 0x0004003000008202LL: //JPN Home Menu - case 0x0004003000009802LL: //EUR Home Menu + case 0x0004003000008F02LL: //USA HOME Menu + case 0x0004003000008202LL: //JPN HOME Menu + case 0x0004003000009802LL: //EUR HOME Menu if(progVer <= 4) applyRegionFreePatch = false; break; - case 0x000400300000A902LL: //KOR Home Menu + case 0x000400300000A902LL: //KOR HOME Menu if(!progVer) applyRegionFreePatch = false; break; } diff --git a/sysmodules/pm/source/termination.c b/sysmodules/pm/source/termination.c index fb16a5cb..cde3b101 100644 --- a/sysmodules/pm/source/termination.c +++ b/sysmodules/pm/source/termination.c @@ -411,7 +411,7 @@ static void ChainloadHomebrewDirtyAsync(void *argdata) if (app != NULL) { // Clear the "notify on termination, don't cleanup" flag, so that for ex. APT isn't notified & no need for // UnregisterProcess, and the "dependencies loaded" flag, so that the dependencies aren't killed (for ex. when - // booting hbmenu instead of Home Menu, in which case the same title is going to be launched...) + // booting hbmenu instead of HOME Menu, in which case the same title is going to be launched...) launchFlags = app->launchFlags; programInfo.programId = app->titleId; programInfo.mediaType = app->mediaType; diff --git a/sysmodules/rosalina/source/draw.c b/sysmodules/rosalina/source/draw.c index ed1d9982..454211f0 100644 --- a/sysmodules/rosalina/source/draw.c +++ b/sysmodules/rosalina/source/draw.c @@ -131,7 +131,7 @@ void Draw_ClearFramebuffer(void) Result Draw_AllocateFramebufferCache(u32 size) { - // Can't use fbs in FCRAM when Home Menu is active (AXI config related maybe?) + // Can't use fbs in FCRAM when HOME Menu is active (AXI config related maybe?) u32 addr = 0x0D000000; u32 tmp; diff --git a/sysmodules/rosalina/source/menus.c b/sysmodules/rosalina/source/menus.c index 818ec8f6..3a9ff5b2 100644 --- a/sysmodules/rosalina/source/menus.c +++ b/sysmodules/rosalina/source/menus.c @@ -55,7 +55,7 @@ Menu rosalinaMenu = { { "System configuration...", MENU, .menu = &sysconfigMenu }, { "Miscellaneous options...", MENU, .menu = &miscellaneousMenu }, { "Save settings", METHOD, .method = &RosalinaMenu_SaveSettings }, - { "Return To Home Menu", METHOD, .method = &RosalinaMenu_ReturnToHomeMenu }, + { "Return To HOME Menu", METHOD, .method = &RosalinaMenu_ReturnToHomeMenu }, { "Power off / reboot", METHOD, .method = &RosalinaMenu_PowerOffOrReboot }, { "System info", METHOD, .method = &RosalinaMenu_ShowSystemInfo }, { "Credits", METHOD, .method = &RosalinaMenu_ShowCredits }, @@ -312,7 +312,7 @@ void RosalinaMenu_ReturnToHomeMenu(void) do { Draw_Lock(); - Draw_DrawString(10, 10, COLOR_TITLE, "Return to Home Menu"); + Draw_DrawString(10, 10, COLOR_TITLE, "Return to HOME Menu"); Draw_DrawString(10, 30, COLOR_WHITE, "Press A to confirm.\nPress B to go back."); Draw_FlushFramebuffer(); Draw_Unlock(); diff --git a/sysmodules/rosalina/source/menus/miscellaneous.c b/sysmodules/rosalina/source/menus/miscellaneous.c index 99f2c679..166a0bbc 100644 --- a/sysmodules/rosalina/source/menus/miscellaneous.c +++ b/sysmodules/rosalina/source/menus/miscellaneous.c @@ -287,7 +287,7 @@ void MiscellaneousMenu_InputRedirection(void) posY, COLOR_WHITE, "This might cause a key press to be repeated in\n" - "Home Menu for no reason.\n\n" + "HOME Menu for no reason.\n\n" "Just pressing ZL/ZR on the console is enough to fix\nthis.\n" ); } @@ -485,7 +485,7 @@ void MiscellaneousMenu_DumpDspFirm(void) else Draw_DrawFormattedString( 10, 30, COLOR_WHITE, - "Operation failed (0x%08lx).\n\nMake sure that Home Menu is running and that your\nSD card is inserted.", + "Operation failed (0x%08lx).\n\nMake sure that HOME Menu is running and that your\nSD card is inserted.", res ); Draw_FlushFramebuffer();