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:
parent
e15eb9ff79
commit
d374453c8f
3 changed files with 10 additions and 11 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue