mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-26 09:35:27 +00:00
sys_fs: 0xc0000006 stub
This commit is contained in:
parent
a626bbf635
commit
d7c3d1ce12
@ -675,6 +675,14 @@ error_code sys_fs_fcntl(u32 fd, u32 op, vm::ptr<void> _arg, u32 _size)
|
||||
return CELL_EMFILE;
|
||||
}
|
||||
|
||||
case 0xc0000006: // Unknown
|
||||
{
|
||||
const auto arg = vm::static_ptr_cast<lv2_file_c0000006>(_arg);
|
||||
|
||||
sys_fs.warning("0xc0000006: 0x%x, 0x%x, 0x%x, %s, 0x%x, 0x%x, 0x%x", arg->size, arg->_x4, arg->_x8, arg->name, arg->_x14, arg->_x18, arg->_x1c);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
case 0xe0000012: // cellFsGetDirectoryEntries
|
||||
{
|
||||
const auto arg = vm::static_ptr_cast<lv2_file_op_dir::dir_info>(_arg);
|
||||
|
@ -266,6 +266,21 @@ struct lv2_file_op_dir : lv2_file_op
|
||||
|
||||
CHECK_SIZE(lv2_file_op_dir, 0x1c);
|
||||
|
||||
// sys_fs_fnctl: unknown (called before cellFsOpen, for example)
|
||||
struct lv2_file_c0000006 : lv2_file_op
|
||||
{
|
||||
be_t<u32> size; // 0x20
|
||||
be_t<u32> _x4; // 0x10
|
||||
be_t<u32> _x8; // 0x18
|
||||
be_t<u32> _xc; // 0x9
|
||||
vm::ps3::bcptr<char> name;
|
||||
be_t<u32> _x14; // 0
|
||||
be_t<u32> _x18; // 0x80010003
|
||||
be_t<u32> _x1c; // 0
|
||||
};
|
||||
|
||||
CHECK_SIZE(lv2_file_c0000006, 0x20);
|
||||
|
||||
// Syscalls
|
||||
|
||||
error_code sys_fs_test(u32 arg1, u32 arg2, vm::ps3::ptr<u32> arg3, u32 arg4, vm::ps3::ptr<char> arg5, u32 arg6);
|
||||
|
Loading…
x
Reference in New Issue
Block a user