mirror of
https://github.com/Decscots/Lockpick_RCM.git
synced 2024-11-25 15:06:51 +01:00
Fit SD seed messaging on single lines
This commit is contained in:
parent
abc2c85864
commit
7a50772703
@ -634,19 +634,19 @@ pkg2_done:
|
|||||||
free(dec_header);
|
free(dec_header);
|
||||||
|
|
||||||
if (f_open(&fp, "sd:/Nintendo/Contents/private", FA_READ | FA_OPEN_EXISTING)) {
|
if (f_open(&fp, "sd:/Nintendo/Contents/private", FA_READ | FA_OPEN_EXISTING)) {
|
||||||
EPRINTF("Failed to open SD seed verification file from SD.");
|
EPRINTF("Unable to locate SD seed. Skipping.");
|
||||||
goto dismount;
|
goto dismount;
|
||||||
}
|
}
|
||||||
// get sd seed verification vector
|
// get sd seed verification vector
|
||||||
if (f_read(&fp, temp_key, 0x10, &read_bytes) || read_bytes != 0x10) {
|
if (f_read(&fp, temp_key, 0x10, &read_bytes) || read_bytes != 0x10) {
|
||||||
EPRINTF("Failed to read SD seed verification vector from SD.");
|
EPRINTF("Unable to locate SD seed. Skipping.");
|
||||||
f_close(&fp);
|
f_close(&fp);
|
||||||
goto dismount;
|
goto dismount;
|
||||||
}
|
}
|
||||||
f_close(&fp);
|
f_close(&fp);
|
||||||
|
|
||||||
if (f_open(&fp, "emmc:/save/8000000000000043", FA_READ | FA_OPEN_EXISTING)) {
|
if (f_open(&fp, "emmc:/save/8000000000000043", FA_READ | FA_OPEN_EXISTING)) {
|
||||||
EPRINTF("Failed to open ns_appman save.");
|
EPRINTF("Failed to open ns_appman save.\nSkipping SD seed.");
|
||||||
goto dismount;
|
goto dismount;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user