Skip to content

Commit

Permalink
fix install path
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseAaronLopezGarcia committed Apr 18, 2024
1 parent 345b157 commit cd17540
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions core/systemctrl/src/loadercore.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,13 +197,17 @@ static void checkArkPath(){
// fix for PSP-Go with dead ef (or non-Go units)
if (ark_config->arkpath[0]=='e' && ark_config->arkpath[1]=='f'){
ark_config->arkpath[0] = 'm'; ark_config->arkpath[1] = 's';
if ((res=sceIoDopen(ark_config->arkpath))>=0){
sceIoDclose(res);
return;
}
}
else {
ark_config->arkpath[0] = 'e'; ark_config->arkpath[1] = 'f';
}
if ((res=sceIoDopen(ark_config->arkpath))>=0){
sceIoDclose(res);
return;
}
// no ARK install folder, default to SEPLUGINS
strcpy(ark_config->arkpath, SEPLUGINS_MS0);
sceIoMkdir(SEPLUGINS_MS0, 0777);
}
else{
sceIoDclose(res);
Expand Down

0 comments on commit cd17540

Please sign in to comment.