mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +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. */
|
* 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…
x
Reference in New Issue
Block a user