mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-10 10:41:26 +01:00
[rpcsx-os] ignore socket error
This commit is contained in:
parent
95f1a6feda
commit
6a2c97fea3
|
|
@ -117,9 +117,9 @@ orbis::SysResult orbis::sys_kevent(Thread *thread, sint fd,
|
|||
change.fflags, change.data, change.udata);
|
||||
|
||||
if (change.flags & kEvAdd) {
|
||||
if (change.filter != kEvFiltDisplay && change.filter != kEvFiltGraphicsCore) {
|
||||
std::abort();
|
||||
}
|
||||
// if (change.filter != kEvFiltDisplay && change.filter != kEvFiltGraphicsCore) {
|
||||
// std::abort();
|
||||
// }
|
||||
|
||||
kq->notes.push_back({
|
||||
.event = change,
|
||||
|
|
|
|||
|
|
@ -356,9 +356,9 @@ orbis::ErrorCode createSocket(orbis::Ref<orbis::File> *file,
|
|||
orbis::kstring name, int dom, int type,
|
||||
int prot) {
|
||||
auto fd = ::socket(dom, type, prot);
|
||||
if (fd < 0) {
|
||||
return convertErrno();
|
||||
}
|
||||
// if (fd < 0) {
|
||||
// return convertErrno();
|
||||
// }
|
||||
|
||||
auto s = orbis::knew<SocketFile>();
|
||||
s->name = std::move(name);
|
||||
|
|
|
|||
Loading…
Reference in a new issue