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>
This commit is contained in:
Zephyron 2025-04-27 13:38:35 +10:00
parent 1ad69f3545
commit 58401f5b39
1 changed files with 0 additions and 2 deletions

View File

@ -159,8 +159,6 @@ Errno TranslateNativeError(int e, CallType call_type = CallType::Other) {
return Errno::INPROGRESS; return Errno::INPROGRESS;
case WSAENOTSOCK: case WSAENOTSOCK:
return Errno::NOTSOCK; return Errno::NOTSOCK;
case WSAEBUSY:
return Errno::BUSY;
default: default:
UNIMPLEMENTED_MSG("Unimplemented errno={}", e); UNIMPLEMENTED_MSG("Unimplemented errno={}", e);
return Errno::OTHER; return Errno::OTHER;