Reinstate ntrboot display in config

This commit is contained in:
Aurora Wright 2017-08-20 16:13:57 +02:00
parent 13317b9548
commit 0419fc4e30
3 changed files with 5 additions and 4 deletions

View File

@ -239,7 +239,7 @@ void configMenu(bool oldPinStatus, u32 oldPinMode)
initScreens(); initScreens();
drawString(true, 10, 10, COLOR_TITLE, CONFIG_TITLE); drawFormattedString(true, 10, 10, COLOR_TITLE, "%s%s", CONFIG_TITLE, isNtrcardBoot ? " (ntrboot)" : "");
drawString(true, 10, 10 + SPACING_Y, COLOR_TITLE, "Press A to select, START to save"); drawString(true, 10, 10 + SPACING_Y, COLOR_TITLE, "Press A to select, START to save");
//Character to display a selected option //Character to display a selected option

View File

@ -43,13 +43,13 @@ extern ConfigurationStatus needConfig;
extern FirmwareSource firmSource; extern FirmwareSource firmSource;
bool isFirmlaunch = false, bool isFirmlaunch = false,
isSdMode; isSdMode,
isNtrcardBoot;
u16 launchedPath[41]; u16 launchedPath[41];
void main(int argc, char **argv, u32 magicWord) void main(int argc, char **argv, u32 magicWord)
{ {
bool isFirmProtEnabled, bool isFirmProtEnabled,
isNtrcardBoot,
isSafeMode = false, isSafeMode = false,
isNoForceFlagSet = false; isNoForceFlagSet = false;
FirmwareType firmType; FirmwareType firmType;

View File

@ -115,7 +115,8 @@ typedef enum FirmwareType
} FirmwareType; } FirmwareType;
extern bool isFirmlaunch, extern bool isFirmlaunch,
isSdMode; isSdMode,
isNtrcardBoot;
extern u16 launchedFirmTidLow[8]; extern u16 launchedFirmTidLow[8];
extern u16 launchedPath[41]; extern u16 launchedPath[41];