1
0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2025-04-02 15:00:07 +00:00

Merge pull request from LotP1/patch-1

Add support for the CONNREFUSED socket error
This commit is contained in:
liamwhite 2024-01-30 11:58:55 -05:00 committed by GitHub
commit 07aa1a99fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions
src/core/hle/service/sockets

@ -24,6 +24,7 @@ enum class Errno : u32 {
CONNRESET = 104,
NOTCONN = 107,
TIMEDOUT = 110,
CONNREFUSED = 111,
INPROGRESS = 115,
};

@ -25,6 +25,8 @@ Errno Translate(Network::Errno value) {
return Errno::MFILE;
case Network::Errno::PIPE:
return Errno::PIPE;
case Network::Errno::CONNREFUSED:
return Errno::CONNREFUSED;
case Network::Errno::NOTCONN:
return Errno::NOTCONN;
case Network::Errno::TIMEDOUT: