mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Revert "(Netplay) Cthulhu88 - Remove forced disconnection on unknown netplay command -"
This reverts commit 65a421d90fa8050eb56767aa6b582fc63009ac02.
This commit is contained in:
parent
9e0b98cd89
commit
680b631ad6
@ -5321,18 +5321,9 @@ static bool netplay_get_cmd(netplay_t *netplay,
|
||||
}
|
||||
|
||||
default:
|
||||
{
|
||||
unsigned char buf[1024];
|
||||
while (cmd_size)
|
||||
{
|
||||
RECV(buf, (cmd_size > sizeof(buf)) ? sizeof(buf) : cmd_size)
|
||||
return false;
|
||||
cmd_size -= recvd;
|
||||
}
|
||||
RARCH_ERR("%s\n",
|
||||
msg_hash_to_str(MSG_UNKNOWN_NETPLAY_COMMAND_RECEIVED));
|
||||
}
|
||||
break;
|
||||
RARCH_ERR("%s\n",
|
||||
msg_hash_to_str(MSG_UNKNOWN_NETPLAY_COMMAND_RECEIVED));
|
||||
return netplay_cmd_nak(netplay, connection);
|
||||
}
|
||||
|
||||
netplay_recv_flush(&connection->recv_packet_buffer);
|
||||
|
Loading…
x
Reference in New Issue
Block a user