diff options
author | tech-ticks <techticksdev@gmail.com> | 2022-04-07 23:05:50 +0200 |
---|---|---|
committer | tech-ticks <techticksdev@gmail.com> | 2022-04-07 23:30:23 +0200 |
commit | 1c3983c12e5df5a2a2f33dadf5e4a2f875fe2f47 (patch) | |
tree | 268176f6ac0c9c4866baa391bfd0221b25df7d2c /src/core/hle/service/sockets/bsd.cpp | |
parent | patch_manager: Apply layered exefs patches from 'atmosphere' SD directory (diff) | |
download | yuzu-1c3983c12e5df5a2a2f33dadf5e4a2f875fe2f47.tar yuzu-1c3983c12e5df5a2a2f33dadf5e4a2f875fe2f47.tar.gz yuzu-1c3983c12e5df5a2a2f33dadf5e4a2f875fe2f47.tar.bz2 yuzu-1c3983c12e5df5a2a2f33dadf5e4a2f875fe2f47.tar.lz yuzu-1c3983c12e5df5a2a2f33dadf5e4a2f875fe2f47.tar.xz yuzu-1c3983c12e5df5a2a2f33dadf5e4a2f875fe2f47.tar.zst yuzu-1c3983c12e5df5a2a2f33dadf5e4a2f875fe2f47.zip |
Diffstat (limited to 'src/core/hle/service/sockets/bsd.cpp')
-rw-r--r-- | src/core/hle/service/sockets/bsd.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/service/sockets/bsd.cpp b/src/core/hle/service/sockets/bsd.cpp index fc93fb743..e5631c27e 100644 --- a/src/core/hle/service/sockets/bsd.cpp +++ b/src/core/hle/service/sockets/bsd.cpp @@ -689,6 +689,9 @@ Errno BSD::SetSockOptImpl(s32 fd, u32 level, OptName optname, size_t optlen, con case OptName::REUSEADDR: ASSERT(value == 0 || value == 1); return Translate(socket->SetReuseAddr(value != 0)); + case OptName::KEEPALIVE: + ASSERT(value == 0 || value == 1); + return Translate(socket->SetKeepAlive(value != 0)); case OptName::BROADCAST: ASSERT(value == 0 || value == 1); return Translate(socket->SetBroadcast(value != 0)); |