Add fw dumping

- also fatfs is stupid
- also close files properly on a failed copy
- also check for errors during folder readouts
- also make sure holding vol- doesn't dump the keys anyway
This commit is contained in:
suchmememanyskill committed 2020-12-28 02:29:58 +01:00
1 parent 859ad2cc4c
commit 513bd804b1
18 files changed
+222 -29

No files matched your search

+2 -1
View File
@@ -5,4 +5,5 @@
u64 GetFileSize(char *path);
char *EscapeFolder(const char *current);
char *CombinePaths(const char *current, const char *add);
char *GetFileAttribs(FSEntry_t entry);
char *GetFileAttribs(FSEntry_t entry);
bool FileExists(char* path);