This commit is contained in:
ikari
2009-09-25 23:01:19 +02:00
parent 150384fba3
commit f3e07ff30c
20 changed files with 3884 additions and 3636 deletions

View File

@@ -6,12 +6,16 @@
#include "ff.h"
#include "fileops.h"
WCHAR ff_convert(WCHAR w, UINT dir) {
return w;
}
void file_init() {
f_mount(0, &fatfs);
}
void file_open(char* filename, BYTE flags) {
file_res = f_open(&file_handle, filename, flags);
file_res = f_open(&file_handle, (unsigned char*)filename, flags);
}
void file_close() {