mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
C90 fix
This commit is contained in:
parent
c60878a10d
commit
20bb335017
@ -9293,6 +9293,7 @@ static void RETRO_CALLCONV netplay_netpacket_send(const void* buf, size_t len,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
struct netplay_connection *connection;
|
||||||
size_t i = client_id - (netplay->is_server ? 1 : 0);
|
size_t i = client_id - (netplay->is_server ? 1 : 0);
|
||||||
if (i >= netplay->connections_size)
|
if (i >= netplay->connections_size)
|
||||||
{
|
{
|
||||||
@ -9300,7 +9301,7 @@ static void RETRO_CALLCONV netplay_netpacket_send(const void* buf, size_t len,
|
|||||||
client_id);
|
client_id);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
struct netplay_connection *connection = &netplay->connections[i];
|
connection = &netplay->connections[i];
|
||||||
if ( (connection->flags & NETPLAY_CONN_FLAG_ACTIVE)
|
if ( (connection->flags & NETPLAY_CONN_FLAG_ACTIVE)
|
||||||
&& (connection->mode == NETPLAY_CONNECTION_PLAYING)
|
&& (connection->mode == NETPLAY_CONNECTION_PLAYING)
|
||||||
&& !netplay_send_raw_cmd(netplay, connection,
|
&& !netplay_send_raw_cmd(netplay, connection,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user