mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +00:00
sys_fs_fsync implemented
sys_fs_fdatasync implemented as equal function
This commit is contained in:
parent
19fd8c109e
commit
256dfc5729
6 changed files with 76 additions and 21 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue