sys_fs_fsync implemented

sys_fs_fdatasync implemented as equal function
This commit is contained in:
Nekotekina 2017-04-24 18:43:27 +03:00
parent 19fd8c109e
commit 256dfc5729
6 changed files with 76 additions and 21 deletions

View file

@ -163,11 +163,20 @@ s32 cellFsLseek(u32 fd, s64 offset, u32 whence, vm::ptr<u64> pos)
return sys_fs_lseek(fd, offset, whence, pos);
}
s32 cellFsFdatasync(u32 fd)
{
cellFs.trace("cellFsFdatasync(fd=%d)", fd);
// Call the syscall
return sys_fs_fdatasync(fd);
}
s32 cellFsFsync(u32 fd)
{
cellFs.todo("cellFsFsync(fd=0x%x)", fd);
cellFs.trace("cellFsFsync(fd=%d)", fd);
return CELL_OK;
// Call the syscall
return sys_fs_fsync(fd);
}
s32 cellFsFGetBlockSize(u32 fd, vm::ptr<u64> sector_size, vm::ptr<u64> block_size)
@ -878,12 +887,6 @@ s32 cellFsFcntl()
return CELL_OK;
}
s32 cellFsFdatasync()
{
UNIMPLEMENTED_FUNC(cellFs);
return CELL_OK;
}
s32 cellFsLink()
{
UNIMPLEMENTED_FUNC(cellFs);