aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/keys/keys.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/keys/keys.c b/source/keys/keys.c
index 4a2c8a3..7caca15 100644
--- a/source/keys/keys.c
+++ b/source/keys/keys.c
@@ -1039,7 +1039,9 @@ key_output: ;
1039 gfx_printf("%kLockpick totally done in %d us\n\n", colors[(color_idx++) % 6], end_time - begin_time); 1039 gfx_printf("%kLockpick totally done in %d us\n\n", colors[(color_idx++) % 6], end_time - begin_time);
1040 gfx_printf("%kFound through master_key_%02x.\n\n", colors[(color_idx++) % 6], MAX_KEY - 1); 1040 gfx_printf("%kFound through master_key_%02x.\n\n", colors[(color_idx++) % 6], MAX_KEY - 1);
1041 1041
1042 if (f_mkdir("sd:/switch") != FR_EXIST) { 1042 FRESULT dir_rc = FR_OK;
1043 dir_rc = f_mkdir("sd:/switch");
1044 if (dir_rc != FR_EXIST && dir_rc != FR_OK) {
1043 EPRINTF("Unable to create /switch folder on SD.\nNo keyfiles written."); 1045 EPRINTF("Unable to create /switch folder on SD.\nNo keyfiles written.");
1044 goto free_buffers; 1046 goto free_buffers;
1045 } 1047 }