The issue appears to be that when a folder existed in ux0:/psm that did not contain RW/System/content_id file the program would crash
this is oddly due to this check
int contentid_size = allocateReadFile(contentid_path, &cidFile);
if(contentid_size < 0)
return contentid_size;
apparently a <0 return from this function will still count as a "please promote this"
so in order to fix i made it just return 0 as well as added a size check to make sure its not just some random file been thrown in there
it turns out some apps acturally write there own files to ux0:/psm in order to show a "interlectural property notices" screen w psm_manual: app which is likely how this error was triggered to begin with.
The issue appears to be that when a folder existed in
ux0:/psm
that did not containRW/System/content_id
file the program would crashthis is oddly due to this check
apparently a <0 return from this function will still count as a "please promote this" so in order to fix i made it just return 0 as well as added a size check to make sure its not just some random file been thrown in there
it turns out some apps acturally write there own files to ux0:/psm in order to show a "interlectural property notices" screen w psm_manual: app which is likely how this error was triggered to begin with.
this should fix #559 (hopefully)