mirror of
https://github.com/shchmue/Lockpick_RCM.git
synced 2024-12-23 05:35:32 +00:00
keys: Check emummc SD seed vector when appropriate
This commit is contained in:
parent
b3a739592e
commit
f2e5413ef3
|
@ -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