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 b532d4b commit b27d9cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/filer.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,9 @@ void pad_psu_header(psu_header *psu)
int dongleguard(char *filepath) {
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;}
} else {return 1;} /*not a dongle boot file*/}
return 0; // is a dongle bootfile, and we want to delete
} else {return 2; /*is a dongle bootfile and we dont want to delete*/}
} else {return 1; /*not a dongle boot file*/}
}
#endif
//--------------------------------------------------------------
Expand Down

0 comments on commit b27d9cb

Please sign in to comment.