Skip to content

Commit b328213

Browse files
committed
Home Menu -> HOME Menu
1 parent f0c9982 commit b328213

8 files changed

Lines changed: 19 additions & 19 deletions

File tree

arm9/source/deliver_arg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ bool isTwlToCtrLaunch(void)
123123

124124
switch (twlTid & ~0xFFull)
125125
{
126-
case 0x0000000000000000ull: // TWL Launcher -> Home menu (note: NS checks full TID)
126+
case 0x0000000000000000ull: // TWL Launcher -> HOME menu (note: NS checks full TID)
127127
case 0x00030015484E4200ull: // TWL System Settings -> CTR System Settings (mset)
128128
return true;
129129
default:

arm9/source/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ void main(int argc, char **argv, u32 magicWord)
230230
nandType = FIRMWARE_SYSNAND;
231231

232232
// Prevent multiple boot options-forcing
233-
// This bit is a bit weird. Basically, as you return to Home Menu by pressing either
233+
// This bit is a bit weird. Basically, as you return to HOME Menu by pressing either
234234
// the HOME or POWER button, nandType will be overridden to "SysNAND" (needed). But,
235235
// if you reboot again (e.g. via Rosalina menu), it'll use your default settings.
236236
if(nandType != BOOTCFG_NAND) isNoForceFlagSet = true;

k11_extension/source/fatalExceptionHandlersMain.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ bool isExceptionFatal(u32 spsr, u32 *regs, u32 index)
8787
if(thread != NULL && thread->threadLocalStorage != NULL && *((vu32 *)thread->threadLocalStorage + 0x10) != 0)
8888
return checkExceptionHandlerValidity(currentProcess, thread->threadLocalStorage);
8989

90-
if(index == 3 && strcmp(codeSetOfProcess(currentProcess)->processName, "menu") == 0 && // workaround a Home Menu bug leading to a dabort
90+
if(index == 3 && strcmp(codeSetOfProcess(currentProcess)->processName, "menu") == 0 && // workaround a HOME Menu bug leading to a dabort
9191
regs[0] == 0x3FFF && regs[2] == 0 && regs[5] == 2 && regs[7] == 1)
9292
return false;
9393
}

sysmodules/loader/source/patcher.c

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -651,12 +651,12 @@ static inline bool patchLayeredFs(u64 progId, u8 *code, u32 size, u32 textSize,
651651

652652
void patchCode(u64 progId, u16 progVer, u8 *code, u32 size, u32 textSize, u32 roSize, u32 dataSize, u32 roAddress, u32 dataAddress)
653653
{
654-
bool isHomeMenu = progId == 0x0004003000008F02LL || //USA Home Menu
655-
progId == 0x0004003000008202LL || //JPN Home Menu
656-
progId == 0x0004003000009802LL || //EUR Home Menu
657-
progId == 0x000400300000A902LL || //KOR Home Menu
658-
progId == 0x000400300000A102LL || //CHN Home Menu
659-
progId == 0x000400300000B102LL; //TWN Home Menu
654+
bool isHomeMenu = progId == 0x0004003000008F02LL || //USA HOME Menu
655+
progId == 0x0004003000008202LL || //JPN HOME Menu
656+
progId == 0x0004003000009802LL || //EUR HOME Menu
657+
progId == 0x000400300000A902LL || //KOR HOME Menu
658+
progId == 0x000400300000A102LL || //CHN HOME Menu
659+
progId == 0x000400300000B102LL; //TWN HOME Menu
660660

661661
bool isApp = ((progId >> 32) & ~0x12) == 0x00040000;
662662
bool isApplet = (progId >> 32) == 0x00040030;
@@ -668,12 +668,12 @@ void patchCode(u64 progId, u16 progVer, u8 *code, u32 size, u32 textSize, u32 ro
668668

669669
switch(progId)
670670
{
671-
case 0x0004003000008F02LL: //USA Home Menu
672-
case 0x0004003000008202LL: //JPN Home Menu
673-
case 0x0004003000009802LL: //EUR Home Menu
671+
case 0x0004003000008F02LL: //USA HOME Menu
672+
case 0x0004003000008202LL: //JPN HOME Menu
673+
case 0x0004003000009802LL: //EUR HOME Menu
674674
if(progVer <= 4) applyRegionFreePatch = false;
675675
break;
676-
case 0x000400300000A902LL: //KOR Home Menu
676+
case 0x000400300000A902LL: //KOR HOME Menu
677677
if(!progVer) applyRegionFreePatch = false;
678678
break;
679679
}

sysmodules/pm/source/termination.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ static void ChainloadHomebrewDirtyAsync(void *argdata)
411411
if (app != NULL) {
412412
// Clear the "notify on termination, don't cleanup" flag, so that for ex. APT isn't notified & no need for
413413
// UnregisterProcess, and the "dependencies loaded" flag, so that the dependencies aren't killed (for ex. when
414-
// booting hbmenu instead of Home Menu, in which case the same title is going to be launched...)
414+
// booting hbmenu instead of HOME Menu, in which case the same title is going to be launched...)
415415
launchFlags = app->launchFlags;
416416
programInfo.programId = app->titleId;
417417
programInfo.mediaType = app->mediaType;

sysmodules/rosalina/source/draw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ void Draw_ClearFramebuffer(void)
131131

132132
Result Draw_AllocateFramebufferCache(u32 size)
133133
{
134-
// Can't use fbs in FCRAM when Home Menu is active (AXI config related maybe?)
134+
// Can't use fbs in FCRAM when HOME Menu is active (AXI config related maybe?)
135135
u32 addr = 0x0D000000;
136136
u32 tmp;
137137

sysmodules/rosalina/source/menus.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Menu rosalinaMenu = {
5555
{ "System configuration...", MENU, .menu = &sysconfigMenu },
5656
{ "Miscellaneous options...", MENU, .menu = &miscellaneousMenu },
5757
{ "Save settings", METHOD, .method = &RosalinaMenu_SaveSettings },
58-
{ "Return To Home Menu", METHOD, .method = &RosalinaMenu_ReturnToHomeMenu },
58+
{ "Return To HOME Menu", METHOD, .method = &RosalinaMenu_ReturnToHomeMenu },
5959
{ "Power off / reboot", METHOD, .method = &RosalinaMenu_PowerOffOrReboot },
6060
{ "System info", METHOD, .method = &RosalinaMenu_ShowSystemInfo },
6161
{ "Credits", METHOD, .method = &RosalinaMenu_ShowCredits },
@@ -312,7 +312,7 @@ void RosalinaMenu_ReturnToHomeMenu(void)
312312
do
313313
{
314314
Draw_Lock();
315-
Draw_DrawString(10, 10, COLOR_TITLE, "Return to Home Menu");
315+
Draw_DrawString(10, 10, COLOR_TITLE, "Return to HOME Menu");
316316
Draw_DrawString(10, 30, COLOR_WHITE, "Press A to confirm.\nPress B to go back.");
317317
Draw_FlushFramebuffer();
318318
Draw_Unlock();

sysmodules/rosalina/source/menus/miscellaneous.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ void MiscellaneousMenu_InputRedirection(void)
287287
posY,
288288
COLOR_WHITE,
289289
"This might cause a key press to be repeated in\n"
290-
"Home Menu for no reason.\n\n"
290+
"HOME Menu for no reason.\n\n"
291291
"Just pressing ZL/ZR on the console is enough to fix\nthis.\n"
292292
);
293293
}
@@ -485,7 +485,7 @@ void MiscellaneousMenu_DumpDspFirm(void)
485485
else
486486
Draw_DrawFormattedString(
487487
10, 30, COLOR_WHITE,
488-
"Operation failed (0x%08lx).\n\nMake sure that Home Menu is running and that your\nSD card is inserted.",
488+
"Operation failed (0x%08lx).\n\nMake sure that HOME Menu is running and that your\nSD card is inserted.",
489489
res
490490
);
491491
Draw_FlushFramebuffer();

0 commit comments

Comments
 (0)