Change some more functions to accept the new input
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user