From 0d5638c3a6e985e2e0c3aa57829dccfb09b28d27 Mon Sep 17 00:00:00 2001 From: d0k3 Date: Wed, 22 Feb 2017 18:44:39 +0100 Subject: [PATCH] Some minor cosmetics --- source/fs/fsutil.c | 4 ++-- source/nand/nandutil.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source/fs/fsutil.c b/source/fs/fsutil.c index 3c2ea46..f3290ee 100644 --- a/source/fs/fsutil.c +++ b/source/fs/fsutil.c @@ -57,7 +57,7 @@ bool FormatSDCard(u64 hidden_mb, u32 cluster_size, const char* label) { else memset(mbr + 0x1CE, 0, 0x10); // one last warning.... - if (!ShowUnlockSequence(6, "!WARNING!\n \nProceeding will format this SD.\nThis will irreversibly delete\nALL data on it.\n")) + if (!ShowUnlockSequence(6, "!WARNING!\n \nProceeding will format this SD.\nThis will irreversibly delete\nALL data on it.")) return false; ShowString("Formatting SD, please wait..."); @@ -78,7 +78,7 @@ bool FormatSDCard(u64 hidden_mb, u32 cluster_size, const char* label) { } bool SetupBonusDrive(void) { - if (!ShowUnlockSequence(3, "Format the bonus drive?\nThis will irreversibly delete\nALL data on it.\n")) + if (!ShowUnlockSequence(3, "Format the bonus drive?\nThis will irreversibly delete\nALL data on it.")) return false; ShowString("Formatting drive, please wait..."); if (GetMountState() & IMG_NAND) InitImgFS(NULL); diff --git a/source/nand/nandutil.c b/source/nand/nandutil.c index 7a4ca06..9098268 100644 --- a/source/nand/nandutil.c +++ b/source/nand/nandutil.c @@ -199,8 +199,8 @@ u32 SafeRestoreNandDump(const char* path) { return 1; } - if (!ShowUnlockSequence(5, "!WARNING!\n \nProceeding will overwrite the\nSysNAND with this backup.\n")) - return false; + if (!ShowUnlockSequence(5, "!WARNING!\n \nProceeding will overwrite the\nSysNAND with the provided dump.\n \n(A9LH will be left intact.)")) + return 1; if (!SetWritePermissions(PERM_SYS_LVL2, true)) return 1; // build essential backup from NAND