Created
October 18, 2021 20:01
-
-
Save jvyden/0d9619f7dd3dbc49f7583486bdacad75 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/rpcs3/Emu/Cell/lv2/sys_net.cpp b/rpcs3/Emu/Cell/lv2/sys_net.cpp | |
index 2a2daca99..713374e6e 100644 | |
--- a/rpcs3/Emu/Cell/lv2/sys_net.cpp | |
+++ b/rpcs3/Emu/Cell/lv2/sys_net.cpp | |
@@ -249,7 +249,7 @@ static sys_net_error get_last_error(bool is_blocking, int native_error = 0) | |
ERROR_CASE(EHOSTDOWN); | |
ERROR_CASE(EHOSTUNREACH); | |
default: | |
- fmt::throw_exception("sys_net get_last_error(is_blocking=%d, native_error=%d): Unknown/illegal socket error", is_blocking, native_error); | |
+ sys_net.warning("sys_net get_last_error(is_blocking=%d, native_error=%d): Unknown/illegal socket error", is_blocking, native_error); | |
} | |
if (name && result != SYS_NET_EWOULDBLOCK && result != SYS_NET_EINPROGRESS) | |
@@ -3090,12 +3090,6 @@ error_code sys_net_bnet_socket(ppu_thread& ppu, s32 family, s32 type, s32 protoc | |
sys_net.error("sys_net_bnet_socket(): unknown family (%d)", family); | |
} | |
- if (type != SYS_NET_SOCK_STREAM && type != SYS_NET_SOCK_DGRAM && type != SYS_NET_SOCK_DGRAM_P2P && type != SYS_NET_SOCK_STREAM_P2P) | |
- { | |
- sys_net.error("sys_net_bnet_socket(): unsupported type (%d)", type); | |
- return -SYS_NET_EPROTONOSUPPORT; | |
- } | |
- | |
lv2_socket::socket_type native_socket = 0; | |
if (type != SYS_NET_SOCK_DGRAM_P2P && type != SYS_NET_SOCK_STREAM_P2P) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment