mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04: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
1 changed files with 1 additions and 1 deletions
|
@ -380,7 +380,7 @@ static bool netplay_get_cmd(netplay_t *netplay)
|
||||||
* arithmetic. */
|
* arithmetic. */
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
if (netplay->buffer[tmp_ptr].frame == buffer[0])
|
if (netplay->buffer[tmp_ptr].used && netplay->buffer[tmp_ptr].frame == buffer[0])
|
||||||
{
|
{
|
||||||
found = true;
|
found = true;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue