|
|
|
|
@@ -1488,11 +1488,11 @@ void App::DisplayThemeOptions(bool left_side) {
|
|
|
|
|
|
|
|
|
|
options->Add(std::make_shared<ui::SidebarEntryBool>("Music"_i18n, App::GetThemeMusicEnable(), [](bool& enable){
|
|
|
|
|
App::SetThemeMusicEnable(enable);
|
|
|
|
|
}, "Enabled"_i18n, "Disabled"_i18n));
|
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
options->Add(std::make_shared<ui::SidebarEntryBool>("12 Hour Time"_i18n, App::Get12HourTimeEnable(), [](bool& enable){
|
|
|
|
|
App::Set12HourTimeEnable(enable);
|
|
|
|
|
}, "Enabled"_i18n, "Disabled"_i18n));
|
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
options->Add(std::make_shared<ui::SidebarEntryCallback>("Download Default Music"_i18n, [](){
|
|
|
|
|
// check if we already have music
|
|
|
|
|
@@ -1568,11 +1568,11 @@ void App::DisplayAdvancedOptions(bool left_side) {
|
|
|
|
|
|
|
|
|
|
options->Add(std::make_shared<ui::SidebarEntryBool>("Logging"_i18n, App::GetLogEnable(), [](bool& enable){
|
|
|
|
|
App::SetLogEnable(enable);
|
|
|
|
|
}, "Enabled"_i18n, "Disabled"_i18n));
|
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
options->Add(std::make_shared<ui::SidebarEntryBool>("Replace hbmenu on exit"_i18n, App::GetReplaceHbmenuEnable(), [](bool& enable){
|
|
|
|
|
App::SetReplaceHbmenuEnable(enable);
|
|
|
|
|
}, "Enabled"_i18n, "Disabled"_i18n));
|
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
options->Add(std::make_shared<ui::SidebarEntryArray>("Text scroll speed"_i18n, text_scroll_speed_items, [](s64& index_out){
|
|
|
|
|
App::SetTextScrollSpeed(index_out);
|
|
|
|
|
@@ -1605,11 +1605,11 @@ void App::DisplayInstallOptions(bool left_side) {
|
|
|
|
|
|
|
|
|
|
options->Add(std::make_shared<ui::SidebarEntryBool>("Enable"_i18n, App::GetApp()->m_install.Get(), [](bool& enable){
|
|
|
|
|
App::GetApp()->m_install.Set(enable);
|
|
|
|
|
}, "Enabled"_i18n, "Disabled"_i18n));
|
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
options->Add(std::make_shared<ui::SidebarEntryBool>("Show install warning"_i18n, App::GetApp()->m_install_prompt.Get(), [](bool& enable){
|
|
|
|
|
App::GetApp()->m_install_prompt.Set(enable);
|
|
|
|
|
}, "Enabled"_i18n, "Disabled"_i18n));
|
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
options->Add(std::make_shared<ui::SidebarEntryArray>("Install location"_i18n, install_items, [](s64& index_out){
|
|
|
|
|
App::SetInstallSdEnable(index_out);
|
|
|
|
|
@@ -1617,67 +1617,67 @@ void App::DisplayInstallOptions(bool left_side) {
|
|
|
|
|
|
|
|
|
|
options->Add(std::make_shared<ui::SidebarEntryBool>("Boost CPU clock"_i18n, App::GetApp()->m_boost_mode.Get(), [](bool& enable){
|
|
|
|
|
App::GetApp()->m_boost_mode.Set(enable);
|
|
|
|
|
}, "Enabled"_i18n, "Disabled"_i18n));
|
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
options->Add(std::make_shared<ui::SidebarEntryBool>("Allow downgrade"_i18n, App::GetApp()->m_allow_downgrade.Get(), [](bool& enable){
|
|
|
|
|
App::GetApp()->m_allow_downgrade.Set(enable);
|
|
|
|
|
}, "Enabled"_i18n, "Disabled"_i18n));
|
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
options->Add(std::make_shared<ui::SidebarEntryBool>("Skip if already installed"_i18n, App::GetApp()->m_skip_if_already_installed.Get(), [](bool& enable){
|
|
|
|
|
App::GetApp()->m_skip_if_already_installed.Set(enable);
|
|
|
|
|
}, "Enabled"_i18n, "Disabled"_i18n));
|
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
options->Add(std::make_shared<ui::SidebarEntryBool>("Ticket only"_i18n, App::GetApp()->m_ticket_only.Get(), [](bool& enable){
|
|
|
|
|
App::GetApp()->m_ticket_only.Set(enable);
|
|
|
|
|
}, "Enabled"_i18n, "Disabled"_i18n));
|
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
options->Add(std::make_shared<ui::SidebarEntryBool>("Skip base"_i18n, App::GetApp()->m_skip_base.Get(), [](bool& enable){
|
|
|
|
|
App::GetApp()->m_skip_base.Set(enable);
|
|
|
|
|
}, "Enabled"_i18n, "Disabled"_i18n));
|
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
options->Add(std::make_shared<ui::SidebarEntryBool>("Skip patch"_i18n, App::GetApp()->m_skip_patch.Get(), [](bool& enable){
|
|
|
|
|
App::GetApp()->m_skip_patch.Set(enable);
|
|
|
|
|
}, "Enabled"_i18n, "Disabled"_i18n));
|
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
options->Add(std::make_shared<ui::SidebarEntryBool>("Skip dlc"_i18n, App::GetApp()->m_skip_addon.Get(), [](bool& enable){
|
|
|
|
|
App::GetApp()->m_skip_addon.Set(enable);
|
|
|
|
|
}, "Enabled"_i18n, "Disabled"_i18n));
|
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
options->Add(std::make_shared<ui::SidebarEntryBool>("Skip data patch"_i18n, App::GetApp()->m_skip_data_patch.Get(), [](bool& enable){
|
|
|
|
|
App::GetApp()->m_skip_data_patch.Set(enable);
|
|
|
|
|
}, "Enabled"_i18n, "Disabled"_i18n));
|
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
options->Add(std::make_shared<ui::SidebarEntryBool>("Skip ticket"_i18n, App::GetApp()->m_skip_ticket.Get(), [](bool& enable){
|
|
|
|
|
App::GetApp()->m_skip_ticket.Set(enable);
|
|
|
|
|
}, "Enabled"_i18n, "Disabled"_i18n));
|
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
options->Add(std::make_shared<ui::SidebarEntryBool>("skip NCA hash verify"_i18n, App::GetApp()->m_skip_nca_hash_verify.Get(), [](bool& enable){
|
|
|
|
|
App::GetApp()->m_skip_nca_hash_verify.Set(enable);
|
|
|
|
|
}, "Enabled"_i18n, "Disabled"_i18n));
|
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
options->Add(std::make_shared<ui::SidebarEntryBool>("Skip RSA header verify"_i18n, App::GetApp()->m_skip_rsa_header_fixed_key_verify.Get(), [](bool& enable){
|
|
|
|
|
App::GetApp()->m_skip_rsa_header_fixed_key_verify.Set(enable);
|
|
|
|
|
}, "Enabled"_i18n, "Disabled"_i18n));
|
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
options->Add(std::make_shared<ui::SidebarEntryBool>("Skip RSA NPDM verify"_i18n, App::GetApp()->m_skip_rsa_npdm_fixed_key_verify.Get(), [](bool& enable){
|
|
|
|
|
App::GetApp()->m_skip_rsa_npdm_fixed_key_verify.Set(enable);
|
|
|
|
|
}, "Enabled"_i18n, "Disabled"_i18n));
|
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
options->Add(std::make_shared<ui::SidebarEntryBool>("Ignore distribution bit"_i18n, App::GetApp()->m_ignore_distribution_bit.Get(), [](bool& enable){
|
|
|
|
|
App::GetApp()->m_ignore_distribution_bit.Set(enable);
|
|
|
|
|
}, "Enabled"_i18n, "Disabled"_i18n));
|
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
options->Add(std::make_shared<ui::SidebarEntryBool>("Convert to standard crypto"_i18n, App::GetApp()->m_convert_to_standard_crypto.Get(), [](bool& enable){
|
|
|
|
|
App::GetApp()->m_convert_to_standard_crypto.Set(enable);
|
|
|
|
|
}, "Enabled"_i18n, "Disabled"_i18n));
|
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
options->Add(std::make_shared<ui::SidebarEntryBool>("Lower master key"_i18n, App::GetApp()->m_lower_master_key.Get(), [](bool& enable){
|
|
|
|
|
App::GetApp()->m_lower_master_key.Set(enable);
|
|
|
|
|
}, "Enabled"_i18n, "Disabled"_i18n));
|
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
options->Add(std::make_shared<ui::SidebarEntryBool>("Lower system version"_i18n, App::GetApp()->m_lower_system_version.Get(), [](bool& enable){
|
|
|
|
|
App::GetApp()->m_lower_system_version.Set(enable);
|
|
|
|
|
}, "Enabled"_i18n, "Disabled"_i18n));
|
|
|
|
|
}));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
App::~App() {
|
|
|
|
|
|