Skip to content

Commit

Permalink
Update filer.c
Browse files Browse the repository at this point in the history
  • Loading branch information
israpps authored Feb 11, 2024
1 parent 85a94b2 commit b532d4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filer.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ void pad_psu_header(psu_header *psu)
/// if it is, prompts the user to confirm the operation before proceeding.
/// returns 0 if user wants to proceed. returns nonzero if user does not want to proceed or the file is not a boot file
int dongleguard(char *filepath) {
if (!strcmp(filepath, "mc0:boot.bin") {
if (!strcmp(filepath, "mc0:boot.bin")) {
if (ynDialog("you're about to delete/rename/move the security dongle boot file\ndont do this if you don't know what it is\n\nContinue?") > 0) {
return 2;
} else {return 0;}
Expand Down

0 comments on commit b532d4b

Please sign in to comment.