mirror of
https://github.com/Rosalie241/RMG.git
synced 2026-07-11 01:24:01 +02:00
3rdParty: update mupen64plus-core to work with newer SDL_net
This commit is contained in:
+2
-2
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user