ABI fixes: libNet, libSaveData (rewrite the legacy Kyty implementation)

This commit is contained in:
nmzik
2026-07-27 23:44:12 +02:00
parent a6b61d7aa0
commit 4b9030bd3d
4 changed files with 127 additions and 32 deletions
+3
View File
@@ -35,6 +35,7 @@ namespace LibNet {
LIB_VERSION("Net", 1, "Net", 1, 1);
static thread_local int g_net_errno = 0;
static constexpr uint32_t g_in6addr_any[4] {};
namespace Net = Network::Net;
@@ -180,6 +181,8 @@ uint16_t KYTY_SYSV_ABI NetNtohs(uint16_t net16) {
}
LIB_DEFINE(InitNet_1_Net) {
LIB_OBJECT("ZRAJo-A-ukc", &LibNet::g_in6addr_any);
LIB_FUNC("Nlev7Lg8k3A", LibNet::NetInit);
LIB_FUNC("HQOwnfMGipQ", LibNet::GetNetErrorAddr);
LIB_FUNC("PIWqhn9oSxc", LibNet::NetAccept);