diff options
author | LotP1 <68976644+LotP1@users.noreply.github.com> | 2024-01-30 00:34:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-30 00:34:07 +0100 |
commit | 2cc5c517cf9029c278cc07e0fb888f787b78453f (patch) | |
tree | ab6941a5a6fdc80c482ebe5921f1ddaf84a98ff3 /src/core | |
parent | Update sockets.h (diff) | |
download | yuzu-2cc5c517cf9029c278cc07e0fb888f787b78453f.tar yuzu-2cc5c517cf9029c278cc07e0fb888f787b78453f.tar.gz yuzu-2cc5c517cf9029c278cc07e0fb888f787b78453f.tar.bz2 yuzu-2cc5c517cf9029c278cc07e0fb888f787b78453f.tar.lz yuzu-2cc5c517cf9029c278cc07e0fb888f787b78453f.tar.xz yuzu-2cc5c517cf9029c278cc07e0fb888f787b78453f.tar.zst yuzu-2cc5c517cf9029c278cc07e0fb888f787b78453f.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/service/sockets/sockets_translate.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/sockets/sockets_translate.cpp b/src/core/hle/service/sockets/sockets_translate.cpp index ea0b081c2..21bb3e776 100644 --- a/src/core/hle/service/sockets/sockets_translate.cpp +++ b/src/core/hle/service/sockets/sockets_translate.cpp @@ -15,8 +15,6 @@ Errno Translate(Network::Errno value) { switch (value) { case Network::Errno::SUCCESS: return Errno::SUCCESS; - case Network::Errno::CONNREFUSED: - return Errno::CONNREFUSED; case Network::Errno::BADF: return Errno::BADF; case Network::Errno::AGAIN: @@ -27,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: |