forked from Mirror/GodMode9
Disable title manager for mounted images
This commit is contained in:
parent
efcfed31b3
commit
2f2b7faeb4
@ -2402,8 +2402,9 @@ u32 GodMode(int entrypoint) {
|
|||||||
char tpath[16] = { 0 };
|
char tpath[16] = { 0 };
|
||||||
snprintf(tpath, 16, "%2.2s/dbs/title.db", curr_entry->path);
|
snprintf(tpath, 16, "%2.2s/dbs/title.db", curr_entry->path);
|
||||||
int n_opt = 0;
|
int n_opt = 0;
|
||||||
int tman = ((strncmp(curr_entry->path, tpath, 16) == 0) ||
|
int tman = (!(DriveType(curr_entry->path) & DRV_IMAGE) &&
|
||||||
(!*current_path && PathExist(tpath))) ? ++n_opt : -1;
|
((strncmp(curr_entry->path, tpath, 16) == 0) ||
|
||||||
|
(!*current_path && PathExist(tpath)))) ? ++n_opt : -1;
|
||||||
int srch_f = ++n_opt;
|
int srch_f = ++n_opt;
|
||||||
int fixcmac = (!*current_path && ((strspn(curr_entry->path, "14AB") == 1) ||
|
int fixcmac = (!*current_path && ((strspn(curr_entry->path, "14AB") == 1) ||
|
||||||
((GetMountState() == IMG_NAND) && (*(curr_entry->path) == '7')))) ? ++n_opt : -1;
|
((GetMountState() == IMG_NAND) && (*(curr_entry->path) == '7')))) ? ++n_opt : -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user