From 8c630a8beaff2b1cff36f9dd1178db2995af160d Mon Sep 17 00:00:00 2001 From: Zephyron Date: Tue, 28 Jan 2025 16:20:54 +1000 Subject: network: Add NOMEM errno handling for socket operations Implements support for ENOMEM (errno 12) across the network stack: - Added NOMEM to Network::Errno enum - Added NOMEM = 12 to sockets Errno enum - Added translation case in sockets_translate.cpp This is the first step towards addressing the 0.0 FPS bug that occurs when the system runs out of memory during socket operations. Previously, these operations would trigger an unimplemented assertion, causing the emulator to halt. Now the error will be properly propagated to the guest application. --- vcpkg.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcpkg.json') diff --git a/vcpkg.json b/vcpkg.json index 180232afd..8fa0de0c2 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -1,7 +1,7 @@ { "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", "name": "citron", - "builtin-baseline": "7adc2e4d49e8d0efc07a369079faa6bc3dbb90f3", + "builtin-baseline": "c82f74667287d3dc386bce81e44964370c91a289", "version": "1.0", "dependencies": [ "boost-algorithm", -- cgit v1.2.3