mirror of
https://github.com/libretro/RetroArch
synced 2025-03-04 07:13:26 +00:00
j is initialized as zero already, i should be netplay_room_count
This commit is contained in:
parent
11611acbe4
commit
b430b772b5
@ -3766,7 +3766,7 @@ static void netplay_refresh_rooms_cb(void *task_data, void *user_data, const cha
|
|||||||
{
|
{
|
||||||
struct netplay_host *host = NULL;
|
struct netplay_host *host = NULL;
|
||||||
|
|
||||||
for (j = 0; i < netplay_room_count + lan_room_count; i++)
|
for (i = netplay_room_count; i < netplay_room_count + lan_room_count; i++)
|
||||||
{
|
{
|
||||||
struct netplay_host *host = NULL;
|
struct netplay_host *host = NULL;
|
||||||
host = &lan_hosts->hosts[j++];
|
host = &lan_hosts->hosts[j++];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user