mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
Implement cellFsAllocateFileAreaWithoutZeroFill
And a couple minor null pointer checks in sys_fs.
This commit is contained in:
parent
713ae91e27
commit
97083ebba4
2 changed files with 9 additions and 3 deletions
|
|
@ -1017,9 +1017,10 @@ s32 cellFsChangeFileSizeWithoutAllocation()
|
|||
throw EXCEPTION("");
|
||||
}
|
||||
|
||||
s32 cellFsAllocateFileAreaWithoutZeroFill()
|
||||
s32 cellFsAllocateFileAreaWithoutZeroFill(vm::cptr<char> path, u64 size)
|
||||
{
|
||||
throw EXCEPTION("");
|
||||
cellFs.warning("cellFsAllocateFileAreaWithoutZeroFill(path=*0x%x, size=0x%llx)", path, size);
|
||||
return sys_fs_truncate(path, size);
|
||||
}
|
||||
|
||||
s32 cellFsChangeFileSizeByFdWithoutAllocation()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue