mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-29 12:15:39 +00:00
sceKernelClose passed every descriptor to the host close. Guest socket descriptors start at 0x10000000 and are not host descriptors, so closing an open socket returned SCE_KERNEL_ERROR_EBADF and left it in the guest socket table with its host socket open. Route them to GuestSockets::Close as close, sceKernelRead and sceKernelWrite already do; a closed socket still returns SCE_KERNEL_ERROR_EBADF. Co-Authored-By: Claude Opus 5.5 <[email protected]>