diff options
| author | cirakg <cirakg@cirakg.xyz> | 2026-11-02 23:40:30 +0100 |
|---|---|---|
| committer | cirakg <cirakg@cirakg.xyz> | 2026-11-02 23:40:30 +0100 |
| commit | 694bc8df5c8d5b614bdbdbfa43c57a08316f88c2 (patch) | |
| tree | 526b35b3e49c9e7dd86a85bcfd553341c9bc6893 /src/video_core/buffer_cache/buffer_base.h | |
| parent | dda30341bd409cf908dbf4f3670b3ca8293bfb1a (diff) | |
network: fix room host LAN Play and room socket review issues
The room host and room moderators are in the Moderator state, not
Joined, so the airplane mode override for joined rooms did not apply to
them and LAN Play still returned them to the menu. Accept both states.
Share the room address override between the NIFM profile and IP config
calls so they cannot drift apart.
recv() on a room TCP socket now waited for the receive timeout, because
Recv goes through RecvFrom. Room TCP sockets have no peer, so keep the
previous immediate end-of-stream result when nothing is queued.
Close() now drops queued packets and wakes a blocked recv, which then
fails with EBADF. The socket state that the room thread reads when it
queues a packet is now guarded by the packet mutex.
Assisted-by: Claude Opus 5.5 (investigation and implementation)
Diffstat (limited to 'src/video_core/buffer_cache/buffer_base.h')
0 files changed, 0 insertions, 0 deletions
