[rpcsx-os] ignore socket error

This commit is contained in:
DH 2023-10-31 01:07:52 +03:00
parent 95f1a6feda
commit 6a2c97fea3
2 changed files with 6 additions and 6 deletions

View file

@ -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,

View file

@ -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);