From 5efd947df54bb525374f3b1ff51a9de2ceb11653 Mon Sep 17 00:00:00 2001 From: Joel Date: Thu, 20 Jul 2017 23:26:55 -0400 Subject: [PATCH] Minor adjustments before release Switch brightness with title count info. Simply because brightness can have its values refresh whereas tiltle count cannot unless you exit the app. --- source/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/main.c b/source/main.c index 6301918..547e314 100644 --- a/source/main.c +++ b/source/main.c @@ -77,7 +77,7 @@ int main(int argc, char *argv[]) //------------------------------MISC Info (continued)------------------// //=====================================================================// - printf("\x1b[36;1m*\x1b[0m Brightness: \x1b[36;1m%s\x1b[0m \n", getBrightness(1)); + printf("\x1b[36;1m*\x1b[0m Installed titles: SD: \x1b[36;1m%lu\x1b[0m (NAND: \x1b[36;1m%lu\x1b[0m)\n", titleCount(MEDIATYPE_SD), titleCount(MEDIATYPE_NAND)); ip = gethostid(); printf("\x1b[36;1m*\x1b[0m IP: \x1b[36;1m%lu.%lu.%lu.%lu\x1b[0m \n\n", ip & 0xFF, (ip>>8)&0xFF, (ip>>16)&0xFF, (ip>>24)&0xFF); @@ -240,7 +240,7 @@ int main(int argc, char *argv[]) printf("\x1b[36;1m*\x1b[0m CTR Size: \x1b[36;1m%s\x1b[0m / \x1b[36;1m%s\x1b[0m \n", ctrFreeSize, ctrTotalSize); printf("\x1b[26;0H"); - printf("\x1b[36;1m*\x1b[0m Installed titles: SD: \x1b[36;1m%lu\x1b[0m (NAND: \x1b[36;1m%lu\x1b[0m)\n", titleCount(MEDIATYPE_SD), titleCount(MEDIATYPE_NAND)); + printf("\x1b[36;1m*\x1b[0m Brightness: \x1b[36;1m%s\x1b[0m \n", getBrightness(1)); printf("\x1b[27;0H"); wifiPercent = (osGetWifiStrength() * 33.3333333333);