feat(services): Implement nn::socket, nn::nifm, and nn::nim networking services
Add Nintendo Switch network service implementations to support modders working with network functionality in their game modifications: - Add nn::socket utilities including InetAton and Connect functions - Implement sockaddr/in_addr structures matching official Nintendo APIs - Add nn::nifm networking interface services with IsNetworkAvailable and SubmitNetworkRequest - Implement nn::nim network installation management services - Fix BSD socket implementation to properly handle proxy packets - Add Service_BSD log category for better debugging These changes provide crucial networking API support for modders like MaxLastBreath and projects like NX Optimizer (https://www.nxoptimizer.com/) that need to hook into Nintendo's network services for code injection mods. This implementation follows the official documentation at SwitchBrew and enables proper network connectivity in modded games. Signed-off-by: Zephyron <zephyron@citron-emu.org>
This commit is contained in:
parent
0cdd546152
commit
e72d695115
14 changed files with 496 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
|
||||
// SPDX-FileCopyrightText: Copyright 2025 citron Emulator Project
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include <chrono>
|
||||
|
@ -8,6 +9,7 @@
|
|||
#include "core/hle/service/ipc_helpers.h"
|
||||
#include "core/hle/service/kernel_helpers.h"
|
||||
#include "core/hle/service/nim/nim.h"
|
||||
#include "core/hle/service/nim/nim_utils.h"
|
||||
#include "core/hle/service/server_manager.h"
|
||||
#include "core/hle/service/service.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue