1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 18:53:28 +01:00

Mixed minor changes

This commit is contained in:
scribam 2017-07-23 22:46:37 +02:00 committed by Ivan
parent 4c5921a7a4
commit 1899f399b6
4 changed files with 11 additions and 4 deletions

View File

@ -678,7 +678,7 @@ union SceNpSignalingConnectionInfo
SceNpId npId;
struct address {
be_t<u32> addr; // in_addr
//in_port_t port; // TODO: Implement this?
be_t<u16> port; // in_port_t
};
be_t<u32> packet_loss;
};

View File

@ -229,7 +229,7 @@ error_code sys_prx_get_module_info(ppu_thread& ppu, u32 id, u64 flags, vm::ptr<s
return _sys_prx_get_module_info(id, 0, opt);
}
error_code sys_prx_get_module_id_by_name(vm::cptr<char> name, u64 flags, vm::ps3::ptr<sys_prx_get_module_id_by_name_option_t> pOpt)
error_code sys_prx_get_module_id_by_name(vm::cptr<char> name, u64 flags, vm::ptr<sys_prx_get_module_id_by_name_option_t> pOpt)
{
sysPrxForUser.trace("sys_prx_get_module_id_by_name(name=%s, flags=0x%x, pOpt=*0x%x)", name, flags, pOpt);

View File

@ -312,7 +312,7 @@ error_code _sys_prx_get_module_list(u64 flags, vm::ptr<sys_prx_get_module_list_o
error_code _sys_prx_get_module_info(u32 id, u64 flags, vm::ptr<sys_prx_module_info_option_t> pOpt)
{
sys_prx.todo("_sys_prx_get_module_info(id=%d, flags=%d, pOpt=*0x%x)", id, flags, pOpt);
sys_prx.todo("_sys_prx_get_module_info(id=0x%x, flags=%d, pOpt=*0x%x)", id, flags, pOpt);
return CELL_OK;
}

View File

@ -43,7 +43,14 @@ struct sys_prx_load_module_option_t
vm::ps3::bptr<void> base_addr;
};
struct sys_prx_segment_info_t;// TODO
struct sys_prx_segment_info_t
{
be_t<u64> base;
be_t<u64> filesz;
be_t<u64> memsz;
be_t<u64> index;
be_t<u64> type;
};
struct sys_prx_module_info_t
{