mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-09 17:49:45 +00:00
sys_net: Force AF_INET
This commit is contained in:
parent
8f314c5101
commit
bfb3144f34
1 changed files with 9 additions and 10 deletions
|
@ -1356,8 +1356,7 @@ s32 sys_net_bnet_socket(ppu_thread& ppu, s32 family, s32 type, s32 protocol)
|
||||||
return -SYS_NET_EPROTONOSUPPORT;
|
return -SYS_NET_EPROTONOSUPPORT;
|
||||||
}
|
}
|
||||||
|
|
||||||
const int native_domain = family == SYS_NET_AF_INET ? AF_INET :
|
const int native_domain = AF_INET;
|
||||||
family == SYS_NET_AF_UNSPEC ? AF_UNSPEC : AF_INET;
|
|
||||||
|
|
||||||
const int native_type =
|
const int native_type =
|
||||||
type == SYS_NET_SOCK_STREAM ? SOCK_STREAM :
|
type == SYS_NET_SOCK_STREAM ? SOCK_STREAM :
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue