diff options
author | Zephyron <zephyron@citron-emu.org> | 2025-01-28 16:20:54 +1000 |
---|---|---|
committer | Zephyron <zephyron@citron-emu.org> | 2025-01-28 16:20:54 +1000 |
commit | 8c630a8beaff2b1cff36f9dd1178db2995af160d (patch) | |
tree | 87581a014b4c66ec35c93b5ad0c82d3fcaed4c9f /src/android | |
parent | 2e4db14bc143fdb31db1ceadcf9db0740825e118 (diff) |
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.
Diffstat (limited to 'src/android')
0 files changed, 0 insertions, 0 deletions