Skip to content

Commit

Permalink
Fix Custom Launcher from not booting via XMB icon
Browse files Browse the repository at this point in the history
  • Loading branch information
krazynez committed Dec 28, 2024
1 parent 9351bea commit d247241
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions extras/modules/xmbctrl/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ STMOD_HANDLER previous = NULL;
CFWConfig config;

int psp_model;
ARKConfig ark_conf;
SEConfig se_config;

int startup = 1;
Expand Down Expand Up @@ -570,7 +569,7 @@ void AddSysconfContextItem(char *text, char *subtitle, char *regkey)
}

int skipSetting(int i){
if (IS_VITA_ADR((&ark_conf))) return ( i==0 || i==5 || i==9 || i==12 || i==14 || i == 15 || i==16);
if (IS_VITA_ADR((ark_config))) return ( i==0 || i==5 || i==9 || i==12 || i==14 || i == 15 || i==16);
else if (psp_model == PSP_1000) return ( i == 0 || i == 5 || i == 6 || i == 9 || i == 12);
else if (psp_model == PSP_11000) return ( i == 5 || i == 9 || i == 12 || i == 13);
else if (psp_model != PSP_GO) return ( i == 5 || i == 9 || i == 12);
Expand Down Expand Up @@ -1114,7 +1113,7 @@ int module_start(SceSize args, void *argp)

sctrlSEGetConfig(&se_config);

sctrlHENGetArkConfig(&ark_conf);
sctrlHENGetArkConfig(&_arkconf);

previous = sctrlHENSetStartModuleHandler(OnModuleStart);

Expand Down

0 comments on commit d247241

Please sign in to comment.