diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2024-01-30 17:58:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-30 17:58:55 +0100 |
commit | 07aa1a99fab6e16626af352714a88fedf769ecb0 (patch) | |
tree | 28180dcd7b01ea575e48f76dc389861a71a78ea1 /src/core/hle/service | |
parent | Merge pull request #12847 from abouvier/cmake-oaknut (diff) | |
parent | Update sockets.h (diff) | |
download | yuzu-07aa1a99fab6e16626af352714a88fedf769ecb0.tar yuzu-07aa1a99fab6e16626af352714a88fedf769ecb0.tar.gz yuzu-07aa1a99fab6e16626af352714a88fedf769ecb0.tar.bz2 yuzu-07aa1a99fab6e16626af352714a88fedf769ecb0.tar.lz yuzu-07aa1a99fab6e16626af352714a88fedf769ecb0.tar.xz yuzu-07aa1a99fab6e16626af352714a88fedf769ecb0.tar.zst yuzu-07aa1a99fab6e16626af352714a88fedf769ecb0.zip |
Diffstat (limited to 'src/core/hle/service')
-rw-r--r-- | src/core/hle/service/sockets/sockets.h | 1 | ||||
-rw-r--r-- | src/core/hle/service/sockets/sockets_translate.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/service/sockets/sockets.h b/src/core/hle/service/sockets/sockets.h index f86af01a4..f3ea31bde 100644 --- a/src/core/hle/service/sockets/sockets.h +++ b/src/core/hle/service/sockets/sockets.h @@ -24,6 +24,7 @@ enum class Errno : u32 { CONNRESET = 104, NOTCONN = 107, TIMEDOUT = 110, + CONNREFUSED = 111, INPROGRESS = 115, }; diff --git a/src/core/hle/service/sockets/sockets_translate.cpp b/src/core/hle/service/sockets/sockets_translate.cpp index aed05250c..21bb3e776 100644 --- a/src/core/hle/service/sockets/sockets_translate.cpp +++ b/src/core/hle/service/sockets/sockets_translate.cpp @@ -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: |