Lua now uses our fake FatFS when running in simu
This commit is contained in:
@@ -534,7 +534,9 @@ FRESULT f_chdir (const TCHAR *name)
|
||||
|
||||
FRESULT f_opendir (DIR * rep, const TCHAR * name)
|
||||
{
|
||||
rep->fs = (FATFS *)simu::opendir(convertSimuPath(name));
|
||||
char *path = convertSimuPath(name);
|
||||
TRACE("f_opendir(%s)", path);
|
||||
rep->fs = (FATFS *)simu::opendir(path);
|
||||
return FR_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user