mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 16:13:40 +00:00
More care in check_frames code so we don't check CRCs from a previous
connection
This commit is contained in:
parent
c81b022a7d
commit
ae92cfeac2
@ -380,7 +380,7 @@ static bool netplay_get_cmd(netplay_t *netplay)
|
||||
* arithmetic. */
|
||||
do
|
||||
{
|
||||
if (netplay->buffer[tmp_ptr].frame == buffer[0])
|
||||
if (netplay->buffer[tmp_ptr].used && netplay->buffer[tmp_ptr].frame == buffer[0])
|
||||
{
|
||||
found = true;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user