diff --git a/source/arm11/menu/menu.c b/source/arm11/menu/menu.c index 2400a7e..26c1430 100644 --- a/source/arm11/menu/menu.c +++ b/source/arm11/menu/menu.c @@ -127,6 +127,18 @@ u32 conw = desc_con->consoleWidth; u32 curY = 4; + // print config location + consoleSetCursor(desc_con, conw - 16 - 1, curY++); + if(!configIsLoaded()) + { + ee_printf("Config not found"); + } + else + { + FsDevice loc_conf = configGetStorageLocation(); + ee_printf("Config from %s", (loc_conf == FS_DEVICE_SDMC) ? "SDMC" : "NAND"); + } + // print boot mode consoleSetCursor(desc_con, conw - 16 - 1, curY++); if(configDataExist(KBootMode)) @@ -137,19 +149,9 @@ } else { - ee_printf(ESC_SCHEME_WEAK "unknown bootmode" ESC_RESET); + ee_printf("bootmode not set"); } - // reboot slot - u32 prevSlot = readStoredBootslot(); - consoleSetCursor(desc_con, conw - 19 - 1, curY++); - if ((prevSlot >= 1) && (prevSlot <= 3)) - ee_printf(" " "Reboot slot: #%lu", prevSlot); - else if (prevSlot == FIRM1_BOOT_SLOT) - ee_printf(" " "Reboot slot: firm1"); - else - ee_printf(" " "Reboot slot: auto"); - // print slot config curY++; for(u32 i = 0; i < 3; i++) @@ -161,6 +163,17 @@ else ee_printf(" - "); } + // reboot slot + u32 prevSlot = readStoredBootslot(); + consoleSetCursor(desc_con, conw - 16 - 1, curY++); + ee_printf(ESC_SCHEME_WEAK "reboot: " ESC_RESET); + if ((prevSlot >= 1) && (prevSlot <= 3)) + ee_printf(" slot %lu ", prevSlot); + else if (prevSlot == FIRM1_BOOT_SLOT) + ee_printf(" firm1: "); + else + ee_printf("autoboot"); + // print dev mode config curY++; if(configDataExist(KDevMode) && (*(bool*) configGetData(KDevMode)))