mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-01-08 19:17:39 +00:00
FatFs: Apply patch ff_12c_p1.diff.
This commit is contained in:
parent
a65fe3315c
commit
fd8f5e62e1
@ -3439,6 +3439,7 @@ FRESULT f_open (
|
|||||||
fp->obj.sclust = ld_dword(fs->dirbuf + XDIR_FstClus); /* Get object allocation info */
|
fp->obj.sclust = ld_dword(fs->dirbuf + XDIR_FstClus); /* Get object allocation info */
|
||||||
fp->obj.objsize = ld_qword(fs->dirbuf + XDIR_FileSize);
|
fp->obj.objsize = ld_qword(fs->dirbuf + XDIR_FileSize);
|
||||||
fp->obj.stat = fs->dirbuf[XDIR_GenFlags] & 2;
|
fp->obj.stat = fs->dirbuf[XDIR_GenFlags] & 2;
|
||||||
|
fp->obj.n_frag = 0;
|
||||||
} else
|
} else
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user