commit
9fe5dd7fa9
|
@ -86,7 +86,11 @@ int main(int argc, char* argv[])
|
||||||
&app, &Core::HostDispatchJobs);
|
&app, &Core::HostDispatchJobs);
|
||||||
|
|
||||||
std::unique_ptr<BootParameters> boot;
|
std::unique_ptr<BootParameters> boot;
|
||||||
if (options.is_set("nand_title"))
|
if (options.is_set("exec"))
|
||||||
|
{
|
||||||
|
boot = BootParameters::GenerateFromFile(static_cast<const char*>(options.get("exec")));
|
||||||
|
}
|
||||||
|
else if (options.is_set("nand_title"))
|
||||||
{
|
{
|
||||||
const std::string hex_string = static_cast<const char*>(options.get("nand_title"));
|
const std::string hex_string = static_cast<const char*>(options.get("nand_title"));
|
||||||
if (hex_string.length() == 16)
|
if (hex_string.length() == 16)
|
||||||
|
|
|
@ -123,7 +123,7 @@ void MenuBar::AddToolsMenu()
|
||||||
// Label will be set by a NANDRefresh later
|
// Label will be set by a NANDRefresh later
|
||||||
m_boot_sysmenu =
|
m_boot_sysmenu =
|
||||||
AddAction(tools_menu, QStringLiteral(""), this, [this] { emit BootWiiSystemMenu(); });
|
AddAction(tools_menu, QStringLiteral(""), this, [this] { emit BootWiiSystemMenu(); });
|
||||||
m_import_backup = AddAction(gc_ipl, tr("Import BootMii NAND Backup..."), this,
|
m_import_backup = AddAction(tools_menu, tr("Import BootMii NAND Backup..."), this,
|
||||||
[this] { emit ImportNANDBackup(); });
|
[this] { emit ImportNANDBackup(); });
|
||||||
m_check_nand = AddAction(tools_menu, tr("Check NAND..."), this, &MenuBar::CheckNAND);
|
m_check_nand = AddAction(tools_menu, tr("Check NAND..."), this, &MenuBar::CheckNAND);
|
||||||
m_extract_certificates = AddAction(tools_menu, tr("Extract Certificates from NAND"), this,
|
m_extract_certificates = AddAction(tools_menu, tr("Extract Certificates from NAND"), this,
|
||||||
|
|
Loading…
Reference in New Issue