Change some more functions to accept the new input

This commit is contained in:
Such Meme, Many Skill committed 2020-05-02 14:06:56 +02:00
1 parent 0d98f65f99
commit 2cac144ba8
11 files changed
+26 -21

No files matched your search

-1
View File
@@ -4,7 +4,6 @@
#include "../../utils/types.h"
#include "../../libs/fatfs/ff.h"
#include "../../utils/sprintf.h"
#include "../../utils/btn.h"
#include "../../gfx/gfx.h"
#include "../../utils/util.h"
#include "../../hos/pkg1.h"
+2 -3
View File
@@ -8,7 +8,6 @@
#include "../common/common.h"
#include "../../libs/fatfs/ff.h"
#include "../../utils/sprintf.h"
#include "../../utils/btn.h"
#include "../../mem/heap.h"
#include "../../storage/nx_emmc.h"
#include "../common/types.h"
@@ -72,8 +71,8 @@ int existsCheck(char *path){
int res = 0;
if (fsutil_checkfile(path)){
gfx_printf("File already exists! Overwrite?\nVol +/- to cancel\n");
res = gfx_makewaitmenu("Power to continue", 3);
gfx_printf("File already exists! Overwrite?\nBto cancel\n");
res = gfx_makewaitmenu("A to continue", 3);
gfx_printf("\r \r");
return res;
}
+3 -4
View File
@@ -8,7 +8,6 @@
#include "../common/common.h"
#include "../../libs/fatfs/ff.h"
#include "../../utils/sprintf.h"
#include "../../utils/btn.h"
#include "../../mem/heap.h"
#include "../../storage/nx_emmc.h"
#include "../common/types.h"
@@ -57,10 +56,10 @@ int emmcRestorePart(char *path, sdmmc_storage_t *mmcstorage, emmc_part_t *part){
if (totalSize < totalSizeDest){
SWAPCOLOR(COLOR_ORANGE);
gfx_printf("File is too small for destination.\nDo you want to flash it anyway?\n\nVol +/- to Cancel\n");
gfx_printf("File is too small for destination.\nDo you want to flash it anyway?\n\nB to Cancel\n");
u8 btnres = gfx_makewaitmenu(
"Power to Confirm",
2
"A to Confirm",
3
);
RESETCOLOR;