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

@ -7,7 +7,7 @@
#else
#define _MAX_FN_LEN (8+3)
#endif
#define _VFIL_ENABLED (!_FS_TINY)
#define _VDIR_ENABLED ((sizeof(DIR) - sizeof(FFOBJID) >= sizeof(VirtualDir)) && (FF_USE_LFN != 0))
@ -377,3 +377,7 @@ FRESULT fvx_findnopath (TCHAR* path, const TCHAR* pattern) {
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_findpath (TCHAR* path, const TCHAR* pattern, BYTE mode);
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