mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +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
|
||||
{
|
||||
struct netplay_connection *connection;
|
||||
size_t i = client_id - (netplay->is_server ? 1 : 0);
|
||||
if (i >= netplay->connections_size)
|
||||
{
|
||||
@ -9300,7 +9301,7 @@ static void RETRO_CALLCONV netplay_netpacket_send(const void* buf, size_t len,
|
||||
client_id);
|
||||
return;
|
||||
}
|
||||
struct netplay_connection *connection = &netplay->connections[i];
|
||||
connection = &netplay->connections[i];
|
||||
if ( (connection->flags & NETPLAY_CONN_FLAG_ACTIVE)
|
||||
&& (connection->mode == NETPLAY_CONNECTION_PLAYING)
|
||||
&& !netplay_send_raw_cmd(netplay, connection,
|
||||
|
Loading…
x
Reference in New Issue
Block a user