mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 03:39:59 +00:00
(WIIU) calling FSFlushFile each write doesn't seem to be necessary
anymore.
This commit is contained in:
parent
2abc9c7ef9
commit
8b07cf5fd6
@ -299,7 +299,9 @@ static ssize_t sd_fat_write_r (struct _reent *r, int fd, const char *ptr, size_t
|
||||
memcpy(tmpBuf, ptr + done, write_size);
|
||||
|
||||
int result = FSWriteFile(file->dev->pClient, file->dev->pCmd, tmpBuf, 0x01, write_size, file->fd, 0, -1);
|
||||
#if 0
|
||||
FSFlushFile(file->dev->pClient, file->dev->pCmd, file->fd, -1);
|
||||
#endif
|
||||
if(result < 0)
|
||||
{
|
||||
r->_errno = result;
|
||||
|
Loading…
x
Reference in New Issue
Block a user