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 committed by Mike Lothian
parent 75a596a5f9
commit 01267e5f63

View File

@ -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;