mirror of
https://codeberg.org/yuzu-emu/yuzu.git
synced 2025-12-16 12:09:04 +00:00
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:
parent
75a596a5f9
commit
01267e5f63
@ -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;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user