mirror of
https://vps.suchmeme.nl/git/mudkip/Lockpick_RCM.git
synced 2024-11-25 19:26:57 +01:00
Fix the f_mkdir fix
This commit is contained in:
parent
ee1a3e08ae
commit
340a256518
@ -1039,7 +1039,9 @@ key_output: ;
|
|||||||
gfx_printf("%kLockpick totally done in %d us\n\n", colors[(color_idx++) % 6], end_time - begin_time);
|
gfx_printf("%kLockpick totally done in %d us\n\n", colors[(color_idx++) % 6], end_time - begin_time);
|
||||||
gfx_printf("%kFound through master_key_%02x.\n\n", colors[(color_idx++) % 6], MAX_KEY - 1);
|
gfx_printf("%kFound through master_key_%02x.\n\n", colors[(color_idx++) % 6], MAX_KEY - 1);
|
||||||
|
|
||||||
if (f_mkdir("sd:/switch") != FR_EXIST) {
|
FRESULT dir_rc = FR_OK;
|
||||||
|
dir_rc = f_mkdir("sd:/switch");
|
||||||
|
if (dir_rc != FR_EXIST && dir_rc != FR_OK) {
|
||||||
EPRINTF("Unable to create /switch folder on SD.\nNo keyfiles written.");
|
EPRINTF("Unable to create /switch folder on SD.\nNo keyfiles written.");
|
||||||
goto free_buffers;
|
goto free_buffers;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user