Day2 of restructuring/rewriting

This commit is contained in:
Such Meme, Many Skill
2020-03-18 23:58:32 +01:00
parent ff618bc285
commit 9d36f741d9
30 changed files with 981 additions and 1503 deletions

View File

@@ -11,9 +11,8 @@
#include "../../utils/sprintf.h"
#include "../../soc/fuse.h"
#include "../emmc.h"
#include "../fs.h"
#include "../io.h"
#include "../common/common.h"
#include "../fs/fsactions.h"
extern bool sd_mount();
extern void sd_unmount();
@@ -126,7 +125,7 @@ int dumpfirmware(int mmc){
else
sprintf(syspath, "%s/%s", path, fno.fname);
ret = copy(syspath, sdpath, false, false);
ret = fsact_copy(syspath, sdpath, 0);
gfx_printf("%d %s\r", ++amount, fno.fname);
@@ -156,7 +155,7 @@ void dumpusersaves(int mmc){
SWAPCOLOR(COLOR_GREEN);
res = copy_recursive("emmc:/save", "sd:/tegraexplorer");
res = fsact_copy_recursive("emmc:/save", "sd:/tegraexplorer");
SWAPCOLOR(COLOR_ORANGE);
gfx_printf("\rResult copy_recursive() %d\n\n", res);