mirror of
https://github.com/wiiu-env/libfat.git
synced 2025-02-16 17:29:23 +01:00
sync written data to disk on f_write
This commit is contained in:
parent
56261df0c7
commit
7d8f5f3194
@ -850,6 +850,7 @@ ssize_t _FAT_write_r (struct _reent *r, int fd, const char *ptr, size_t len) {
|
||||
}
|
||||
}
|
||||
|
||||
_FAT_syncToDisc(file);
|
||||
_FAT_unlock(&partition->lock);
|
||||
|
||||
return len;
|
||||
|
Loading…
x
Reference in New Issue
Block a user