mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
C90 fix
This commit is contained in:
parent
5342d4ff63
commit
5b1e28843e
@ -4818,9 +4818,9 @@ static void handle_play_spectate(netplay_t *netplay,
|
|||||||
(uint16_t)(connection - netplay->connections + 1)))
|
(uint16_t)(connection - netplay->connections + 1)))
|
||||||
{
|
{
|
||||||
/* core wants us to drop this new client */
|
/* core wants us to drop this new client */
|
||||||
connection->mode = NETPLAY_CONNECTION_CONNECTED;
|
|
||||||
uint32_t reason = htonl(
|
uint32_t reason = htonl(
|
||||||
NETPLAY_CMD_MODE_REFUSED_REASON_OTHER);
|
NETPLAY_CMD_MODE_REFUSED_REASON_OTHER);
|
||||||
|
connection->mode = NETPLAY_CONNECTION_CONNECTED;
|
||||||
netplay_send_raw_cmd(netplay, connection,
|
netplay_send_raw_cmd(netplay, connection,
|
||||||
NETPLAY_CMD_MODE_REFUSED, &reason, sizeof(reason));
|
NETPLAY_CMD_MODE_REFUSED, &reason, sizeof(reason));
|
||||||
netplay_hangup(netplay, connection);
|
netplay_hangup(netplay, connection);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user