From 127a02c7751a481482d726f6bc618b5144a81a78 Mon Sep 17 00:00:00 2001 From: tantricity Date: Thu, 28 May 2009 17:50:36 +0000 Subject: [PATCH] sync written data to disk on f_write git-svn-id: https://devkitpro.svn.sourceforge.net/svnroot/devkitpro/trunk/libfat@3530 258c5a1a-4f63-435d-9564-e8f6d34ab52c --- source/fatfile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/fatfile.c b/source/fatfile.c index dcd10b1..9e04714 100644 --- a/source/fatfile.c +++ b/source/fatfile.c @@ -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; -- 2.11.4.GIT