This commit is contained in:
sepalani 2026-03-20 23:40:55 -05:00 committed by GitHub
commit aef84ade2d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1109,7 +1109,7 @@ static void AMMBCommandClosesocket(u32 parameter_offset)
s_sockets[u32(guest_socket)] = SOCKET_ERROR;
s_media_buffer_32[1] = ret;
s_last_error = SSC_SUCCESS;
s_last_error = ret == 0 ? SSC_SUCCESS : SSC_EBADF;
}
static void AMMBCommandConnect(u32 parameter_offset, u32 network_buffer_base)