1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 00:35:18 +03:00

Lua now uses our fake FatFS when running in simu

This commit is contained in:
Bertrand Songis 2014-02-10 12:15:24 +01:00
parent e15eb9ff79
commit d374453c8f
3 changed files with 10 additions and 11 deletions

View file

@ -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;
}