mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-29 22:20:48 +00:00
sys_fs: return CELL_ENOTSUP in sys_fs_fcntl(0xc0000006)
This commit is contained in:
parent
9075208c80
commit
7523416a12
@ -1203,7 +1203,9 @@ error_code sys_fs_fcntl(ppu_thread& ppu, u32 fd, u32 op, vm::ptr<void> _arg, u32
|
|||||||
{
|
{
|
||||||
const auto arg = vm::static_ptr_cast<lv2_file_c0000006>(_arg);
|
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);
|
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->code, arg->_x1c);
|
||||||
|
|
||||||
|
arg->code = CELL_ENOTSUP;
|
||||||
return CELL_OK;
|
return CELL_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -339,7 +339,7 @@ struct lv2_file_c0000006 : lv2_file_op
|
|||||||
be_t<u32> _xc; // 0x9
|
be_t<u32> _xc; // 0x9
|
||||||
vm::bcptr<char> name;
|
vm::bcptr<char> name;
|
||||||
be_t<u32> _x14; // 0
|
be_t<u32> _x14; // 0
|
||||||
be_t<u32> _x18; // 0x80010003
|
be_t<u32> code; // 0x80010003
|
||||||
be_t<u32> _x1c; // 0
|
be_t<u32> _x1c; // 0
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user