From b27d9cb816c8b340a1119170e23958a6634afe6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=ADas=20Israelson?= <57065102+israpps@users.noreply.github.com> Date: Sun, 11 Feb 2024 11:47:08 -0300 Subject: [PATCH] Update filer.c --- src/filer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/filer.c b/src/filer.c index 89669ab2..ca10e6c3 100644 --- a/src/filer.c +++ b/src/filer.c @@ -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 //--------------------------------------------------------------