From b5b2c8feb2f701f89f22cd31785034bde678faa5 Mon Sep 17 00:00:00 2001 From: JeffRuLz Date: Fri, 11 Jan 2019 21:49:56 -0600 Subject: [PATCH] Install anyway? --- src/installmenu.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/installmenu.c b/src/installmenu.c index 0c7efa4..7c392cf 100644 --- a/src/installmenu.c +++ b/src/installmenu.c @@ -341,10 +341,13 @@ void install(Menu* m) if (getDsiFree() < fileSize) { iprintf("No\n"); - goto error; + if (choiceBox("Try installing anyway?") == NO) + goto error; + } + else + { + iprintf("Yes\n"); } - - iprintf("Yes\n"); } //Menu slot check @@ -354,10 +357,13 @@ void install(Menu* m) if (getMenuSlotsFree() <= 0) { iprintf("No\n"); - goto error; + if (choiceBox("Try installing anyway?") == NO) + goto error; } - - iprintf("Yes\n"); + else + { + iprintf("Yes\n"); + } } //Create title directory