diff options
| author | Zephyron <zephyron@citron-emu.org> | 2025-04-27 13:38:35 +1000 |
|---|---|---|
| committer | Mike Lothian <mike@fireburn.co.uk> | 2025-05-12 12:46:19 +0100 |
| commit | 01267e5f63cc1a1a177cafd3d28a77efb7387419 (patch) | |
| tree | 739a4ab5c8cf5c8ae2783e9c723318247764e5d9 | |
| parent | 75a596a5f9f392189c0768d19cf2aed2aae419f9 (diff) | |
fix: remove invalid WSAEBUSY Windows socket error code
- Fixes Windows compilation error by removing the WSAEBUSY case in TranslateNativeError.
- This error code does not exist in the Windows Sockets API as documented in the Microsoft documentation, but was incorrectly included in the Windows-specific error handling code.
Signed-off-by: Zephyron <zephyron@citron-emu.org>
| -rw-r--r-- | src/core/internal_network/network.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/internal_network/network.cpp b/src/core/internal_network/network.cpp index 6a2a1d93f..e06de17ac 100644 --- a/src/core/internal_network/network.cpp +++ b/src/core/internal_network/network.cpp @@ -159,8 +159,6 @@ Errno TranslateNativeError(int e, CallType call_type = CallType::Other) { return Errno::INPROGRESS; case WSAENOTSOCK: return Errno::NOTSOCK; - case WSAEBUSY: - return Errno::BUSY; default: UNIMPLEMENTED_MSG("Unimplemented errno={}", e); return Errno::OTHER; |
