config: Boot chainloader menu option
This commit is contained in:
parent
a3c5746e06
commit
8cc294b3cb
@ -39,6 +39,7 @@
|
|||||||
#include "pin.h"
|
#include "pin.h"
|
||||||
#include "i2c.h"
|
#include "i2c.h"
|
||||||
#include "ini.h"
|
#include "ini.h"
|
||||||
|
#include "firm.h"
|
||||||
|
|
||||||
#include "config_template_ini.h" // note that it has an extra NUL byte inserted
|
#include "config_template_ini.h" // note that it has an extra NUL byte inserted
|
||||||
|
|
||||||
@ -834,8 +835,9 @@ void configMenu(bool oldPinStatus, u32 oldPinMode)
|
|||||||
"( ) Enable custom upscaling filters for DSi",
|
"( ) Enable custom upscaling filters for DSi",
|
||||||
"( ) Allow Left+Right / Up+Down combos for DSi",
|
"( ) Allow Left+Right / Up+Down combos for DSi",
|
||||||
|
|
||||||
// Should always be the last entry
|
// Should always be the last 2 entries
|
||||||
"\nSave and exit"
|
"\nBoot chainloader",
|
||||||
|
"Save and exit"
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *optionsDescription[] = { "Select the default EmuNAND.\n\n"
|
static const char *optionsDescription[] = { "Select the default EmuNAND.\n\n"
|
||||||
@ -933,7 +935,10 @@ void configMenu(bool oldPinStatus, u32 oldPinMode)
|
|||||||
"Commercial software filter these\n"
|
"Commercial software filter these\n"
|
||||||
"combos on their own too, though.",
|
"combos on their own too, though.",
|
||||||
|
|
||||||
// Should always be the last entry
|
|
||||||
|
// Should always be the last 2 entries
|
||||||
|
"Boot to the Luma3DS chainloader menu.",
|
||||||
|
|
||||||
"Save the changes and exit. To discard\n"
|
"Save the changes and exit. To discard\n"
|
||||||
"any changes press the POWER button.\n"
|
"any changes press the POWER button.\n"
|
||||||
"Use START as a shortcut to this entry."
|
"Use START as a shortcut to this entry."
|
||||||
@ -977,6 +982,7 @@ void configMenu(bool oldPinStatus, u32 oldPinMode)
|
|||||||
{ .visible = true },
|
{ .visible = true },
|
||||||
{ .visible = true },
|
{ .visible = true },
|
||||||
{ .visible = true },
|
{ .visible = true },
|
||||||
|
{ .visible = true },
|
||||||
};
|
};
|
||||||
|
|
||||||
//Calculate the amount of the various kinds of options and pre-select the first single one
|
//Calculate the amount of the various kinds of options and pre-select the first single one
|
||||||
@ -1154,6 +1160,10 @@ void configMenu(bool oldPinStatus, u32 oldPinMode)
|
|||||||
startPressed = false;
|
startPressed = false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
else if (singleSelected == singleOptionsAmount - 2) {
|
||||||
|
loadHomebrewFirm(0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
bool oldEnabled = singleOptions[singleSelected].enabled;
|
bool oldEnabled = singleOptions[singleSelected].enabled;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user