fix bugs and shit, still very rough but the importer is working

This commit is contained in:
Arisotura
2021-08-15 12:25:12 +02:00
parent 3272a3a399
commit 2d8749a7f2
3 changed files with 192 additions and 22 deletions

View File

@ -121,6 +121,13 @@ DRESULT disk_ioctl (
void *buff /* Buffer to send/receive control data */
)
{
switch (cmd)
{
case 0: // sync
// TODO: fflush?
return RES_OK;
}
printf("disk_ioctl(%02X, %02X, %p)\n", pdrv, cmd, buff);
return RES_PARERR;
}

View File

@ -113,7 +113,7 @@
*/
#define FF_USE_LFN 0
#define FF_USE_LFN 1
#define FF_MAX_LFN 255
/* The FF_USE_LFN switches the support for LFN (long file name).
/
@ -133,7 +133,7 @@
/ ff_memfree() exemplified in ffsystem.c, need to be added to the project. */
#define FF_LFN_UNICODE 0
#define FF_LFN_UNICODE 2
/* This option switches the character encoding on the API when LFN is enabled.
/
/ 0: ANSI/OEM in current CP (TCHAR = char)