Skip to content

Commit

Permalink
reorder launcher menu
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseAaronLopezGarcia committed Feb 7, 2024
1 parent 3a114bc commit 983ac4f
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions extras/menus/arkMenu/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,6 @@ int main(int argc, char** argv){
Browser::ftp_driver = new FTPDriver();
}

if (!recovery){
// Setup settings
int max_settings = MAX_SETTINGS_OPTIONS;
if (common::getPspModel() != PSP_GO) max_settings -= 2;
SettingsTable stab = { settings_entries, max_settings };
entries[n_entries++] = new SettingsMenu(&stab, common::saveConf, false, true, true);
}

// Add ARK settings manager
loadSettings();
SettingsTable cfwstab = { ark_conf_entries, ark_conf_max_entries };
Expand All @@ -106,12 +98,13 @@ int main(int argc, char** argv){
plugins_menu->setIcon(IMAGE_PLUGINS);
entries[n_entries++] = plugins_menu;

// Setup settings
int max_settings = MAX_SETTINGS_OPTIONS;
if (common::getPspModel() != PSP_GO) max_settings -= 2;
SettingsTable stab = { settings_entries, max_settings };
entries[n_entries++] = new SettingsMenu(&stab, common::saveConf, false, true, true);

if (recovery){
// Setup settings
int max_settings = MAX_SETTINGS_OPTIONS;
if (common::getPspModel() != PSP_GO) max_settings -= 2;
SettingsTable stab = { settings_entries, max_settings };
entries[n_entries++] = new SettingsMenu(&stab, common::saveConf, false, true, true);
entries[n_entries++] = Browser::getInstance();
}

Expand Down

0 comments on commit 983ac4f

Please sign in to comment.