From 83818668dc73392e3f8e9ce93a39bd3497346301 Mon Sep 17 00:00:00 2001 From: chaoskagami Date: Wed, 29 Jun 2016 21:56:50 -0400 Subject: [PATCH] Missed a few last pass --- source/menu.c | 56 +++++++++++++++++++++---------------------- source/patch_format.h | 2 +- 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/source/menu.c b/source/menu.c index 812df2f..caafcc9 100644 --- a/source/menu.c +++ b/source/menu.c @@ -221,11 +221,11 @@ menu_options() #endif static struct options_s info_d[] = { - { 0, " Native FIRM: ", "The version of NATIVE_FIRM in use.", not_option, 0, 0}, - { 0, " AGB FIRM: ", "The version of AGB_FIRM in use. This is used to run GBA games.", not_option, 0, 0}, - { 0, " TWL FIRM: ", "The version of TWL_FIRM in use. This is used to run DS games and DSiWare.", not_option, 0, 0}, - { 0, " Corbenik: " VERSION " (" REL ")", "Corbenik's version.", not_option, 0, 0}, - { -1, "", "", not_option, 0, 0 } + { 0, " Native FIRM: ", "The version of NATIVE_FIRM in use.", not_option, 0, 0}, + { 0, " AGB FIRM: ", "The version of AGB_FIRM in use. This is used to run GBA games.", not_option, 0, 0}, + { 0, " TWL FIRM: ", "The version of TWL_FIRM in use. This is used to run DS games and DSiWare.", not_option, 0, 0}, + { 0, " Corbenik: " VERSION " (" REL ")", "Corbenik's version.", not_option, 0, 0}, + { -1, "", "", not_option, 0, 0 } }; static int is_setup_info = 0; @@ -233,19 +233,19 @@ void menu_info() { if (!is_setup_info) { - // This menu requres firm to be loaded. Unfortunately. - load_firms(); // Lazy load! + // This menu requres firm to be loaded. Unfortunately. + load_firms(); // Lazy load! - struct firm_signature *native = get_firm_info(firm_loc); - struct firm_signature *agb = get_firm_info(agb_firm_loc); - struct firm_signature *twl = get_firm_info(twl_firm_loc); + struct firm_signature *native = get_firm_info(firm_loc); + struct firm_signature *agb = get_firm_info(agb_firm_loc); + struct firm_signature *twl = get_firm_info(twl_firm_loc); - memcpy(&info_d[0].name[strlen(info_d[0].name)], native->version_string, strlen(native->version_string)); - memcpy(&info_d[1].name[strlen(info_d[1].name)], agb->version_string, strlen(agb->version_string)); - memcpy(&info_d[2].name[strlen(info_d[2].name)], twl->version_string, strlen(twl->version_string)); + memcpy(&info_d[0].name[strlen(info_d[0].name)], native->version_string, strlen(native->version_string)); + memcpy(&info_d[1].name[strlen(info_d[1].name)], agb->version_string, strlen(agb->version_string)); + memcpy(&info_d[2].name[strlen(info_d[2].name)], twl->version_string, strlen(twl->version_string)); - is_setup_info = 1; - } + is_setup_info = 1; + } show_menu(info_d, NULL); } @@ -253,20 +253,20 @@ menu_info() #define ln(s) { 0, s, "", not_option, 0, 0 } static struct options_s help_d[] = { - ln("Corbenik is another 3DS CFW for power users."), - ln(" It seeks to address some faults in other"), - ln(" CFWs and is generally just another choice"), - ln(" for users - but primarily is intended for"), - ln(" developers and is not for the faint of heart."), - ln(""), - ln("Credits to people who've helped me put this"), - ln(" together by code, documentation, or help:"), - ln(" @mid-kid, @Wolfvak, @Reisyukaku, @AuroraWright"), - ln(" @d0k3, @TuxSH, @Steveice10, @delebile,"), - ln(" @Normmatt, @b1l1s, @dark-samus, @TiniVi, etc"), + ln("Corbenik is another 3DS CFW for power users."), + ln(" It seeks to address some faults in other"), + ln(" CFWs and is generally just another choice"), + ln(" for users - but primarily is intended for"), + ln(" developers and is not for the faint of heart."), + ln(""), + ln("Credits to people who've helped me put this"), + ln(" together by code, documentation, or help:"), + ln(" @mid-kid, @Wolfvak, @Reisyukaku, @AuroraWright"), + ln(" @d0k3, @TuxSH, @Steveice10, @delebile,"), + ln(" @Normmatt, @b1l1s, @dark-samus, @TiniVi, etc"), ln(""), - ln(" "), - { -1, "", "", not_option, 0, 0 } + ln(" "), + { -1, "", "", not_option, 0, 0 } }; void diff --git a/source/patch_format.h b/source/patch_format.h index 57d9ab6..3a91282 100644 --- a/source/patch_format.h +++ b/source/patch_format.h @@ -92,7 +92,7 @@ struct system_patch char magic[4]; // "AIDA" for shits and giggles and because we like .hack. uint8_t version; // Version of the patch itself. - // NOTE - This metadata stuff is temporary, I eventually plan to move it down + // NOTE - This metadata stuff is temporary, I eventually plan to move it down // to the same 'variable' width section as tids. char name[64]; // User-readable name for patch in menu. char desc[256]; // User-readable description for patch in menu. -- 2.39.5