drop in replacement for old BEAT code, not yet interactive

This commit is contained in:
Wolfvak 2019-12-27 20:31:52 -03:00 committed by d0k3
parent 12bc19cc43
commit e4b98e0932
3 changed files with 654 additions and 497 deletions

View File

@ -377,3 +377,7 @@ FRESULT fvx_findnopath (TCHAR* path, const TCHAR* pattern) {
return FR_OK; return FR_OK;
} }
bool fvx_opened(const FIL* fp) {
return (fp->obj.fs != NULL);
}

View File

@ -46,3 +46,6 @@ FRESULT fvx_match_name(const TCHAR* path, const TCHAR* pattern);
FRESULT fvx_preaddir (DIR* dp, FILINFO* fno, const TCHAR* pattern); FRESULT fvx_preaddir (DIR* dp, FILINFO* fno, const TCHAR* pattern);
FRESULT fvx_findpath (TCHAR* path, const TCHAR* pattern, BYTE mode); FRESULT fvx_findpath (TCHAR* path, const TCHAR* pattern, BYTE mode);
FRESULT fvx_findnopath (TCHAR* path, const TCHAR* pattern); FRESULT fvx_findnopath (TCHAR* path, const TCHAR* pattern);
// additional state function
bool fvx_opened(const FIL* fp);

File diff suppressed because it is too large Load Diff