From dbe1dc685f6137869f81976bc5552847f50339ef Mon Sep 17 00:00:00 2001 From: Rosalie Wanders Date: Thu, 18 Jun 2026 14:06:05 +0200 Subject: [PATCH] 3rdParty: update mupen64plus-core to work with newer SDL_net --- Source/3rdParty/mupen64plus-core/src/main/netplay.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/3rdParty/mupen64plus-core/src/main/netplay.c b/Source/3rdParty/mupen64plus-core/src/main/netplay.c index 1a964aac..22216b77 100644 --- a/Source/3rdParty/mupen64plus-core/src/main/netplay.c +++ b/Source/3rdParty/mupen64plus-core/src/main/netplay.c @@ -263,7 +263,7 @@ m64p_error netplay_start(const char* host, int port) return M64ERR_SYSTEM_FAIL; } - l_udpSocket = NET_CreateDatagramSocket(NULL, 0); + l_udpSocket = NET_CreateDatagramSocket(NULL, 0, 0); if (l_udpSocket == NULL) { DebugMessage(M64MSG_ERROR, "Netplay: UDP socket creation failed: %s", SDL_GetError()); @@ -272,7 +272,7 @@ m64p_error netplay_start(const char* host, int port) return M64ERR_SYSTEM_FAIL; } - l_tcpSocket = NET_CreateClient(l_resolvedAddress, port); + l_tcpSocket = NET_CreateClient(l_resolvedAddress, port, 0); if (l_tcpSocket == NULL) { DebugMessage(M64MSG_ERROR, "Netplay: TCP socket connection failed: %s", SDL_GetError());