mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
sceNp: add some constants
This commit is contained in:
parent
d77c9139ad
commit
e494fc04e5
8 changed files with 151 additions and 22 deletions
|
|
@ -531,12 +531,12 @@ s32 lv2_socket_p2ps::bind(const sys_net_sockaddr& addr, s32 ps3_id)
|
|||
|
||||
if (p2p_port == 0)
|
||||
{
|
||||
p2p_port = 3658;
|
||||
p2p_port = SCE_NP_PORT;
|
||||
}
|
||||
|
||||
if (p2p_port != 3658)
|
||||
if (p2p_port != SCE_NP_PORT)
|
||||
{
|
||||
sys_net.warning("[P2PS] Attempting to bind a socket to a port != 3658");
|
||||
sys_net.warning("[P2PS] Attempting to bind a socket to a port != %d", +SCE_NP_PORT);
|
||||
}
|
||||
|
||||
socket_type real_socket{};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue