mirror of
https://github.com/Decscots/Lockpick_RCM
synced 2024-11-15 06:56:35 +00:00
keys: Check emummc SD seed vector when appropriate
This commit is contained in:
parent
b3a739592e
commit
f2e5413ef3
1 changed files with 8 additions and 1 deletions
|
@ -653,7 +653,14 @@ pkg2_done:
|
||||||
TPRINTFARGS("%kSSL keys... ", colors[(color_idx++) % 6]);
|
TPRINTFARGS("%kSSL keys... ", colors[(color_idx++) % 6]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (f_open(&fp, "sd:/Nintendo/Contents/private", FA_READ | FA_OPEN_EXISTING)) {
|
char private_path[200] = "sd:/";
|
||||||
|
if (emu_cfg.nintendo_path && (emu_cfg.enabled || !h_cfg.emummc_force_disable)) {
|
||||||
|
strcat(private_path, emu_cfg.nintendo_path);
|
||||||
|
} else {
|
||||||
|
strcat(private_path, "Nintendo");
|
||||||
|
}
|
||||||
|
strcat(private_path, "/Contents/private");
|
||||||
|
if (f_open(&fp, private_path, FA_READ | FA_OPEN_EXISTING)) {
|
||||||
EPRINTF("Unable to open SD seed vector. Skipping.");
|
EPRINTF("Unable to open SD seed vector. Skipping.");
|
||||||
goto get_titlekeys;
|
goto get_titlekeys;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue