mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-06-02 12:45:46 -06:00
Do not crash on encountering an unknown option in PosixSocket::SetSocketOptions (#4346)
* what's one more hacky bypass on this pile of already existing hacky bypasses amirite * Stub only that one option vue needs
This commit is contained in:
parent
66112bc90a
commit
6e675c32f2
@ -560,6 +560,9 @@ int PosixSocket::SetSocketOptions(int level, int optname, const void* optval, u3
|
||||
return ConvertReturnErrorCode(ioctl(sock, FIONBIO, &sockopt_so_nbio));
|
||||
#endif
|
||||
}
|
||||
case ORBIS_NET_SO_ACCEPTTIMEO:
|
||||
LOG_ERROR(Lib_Net, "Unhandled option ORBIS_NET_SO_ACCEPTTIMEO");
|
||||
return ORBIS_OK;
|
||||
}
|
||||
} else if (native_level == IPPROTO_IP) {
|
||||
switch (optname) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user