libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.28k stars 1.83k forks source link

Network Information info is blank until first network operation #6352

Closed celerizer closed 6 years ago

celerizer commented 6 years ago

First and foremost consider this:

Description

https://i.gyazo.com/ae509f0f84d9fe75078fb8a4c0b70198.png

Main Menu > Information > Network Information is not initialized until at least one network operation has been made. This apparently causes crashes when attempting to join LAN netplay lobbies.

Using an option that utilizes network automatically, this doesn't happen (Network Gamepad fixes the issue, logging into RetroAchievements fixes the issue once content is loaded).

Expected behavior

The info should be retrieved on startup and visible from the menu.

Actual behavior

The friendly name of each adapter is shown but its info is not.

Steps to reproduce the bug

  1. Navigate to Main Menu > Information > Network Information, see blank info
  2. Enter Core Updater
  3. Return to Network Information, info is populated

Bisect Results

[Try to bisect and tell us when this started happening]

Version/Commit

You can find this information under Information/System Information

Environment information

andres-asm commented 6 years ago

This happens because network is never initialized by default. It should be initialized as a part of the startup process

inactive123 commented 6 years ago

This longstanding issue should finally be addressed by this -

https://github.com/libretro/RetroArch/commit/3d731aec1943d2deca03d68077629e42491068cc

Sorry for keeping everybody waiting for so long before addressing this.