rework wifi settings dialog.

fail gracefully if pcap isn't loaded successfully.
This commit is contained in:
Arisotura
2019-03-04 23:55:39 +01:00
parent 3f82c7dcc1
commit cfaf5a0f3f
2 changed files with 51 additions and 11 deletions

View File

@ -111,6 +111,8 @@ bool Init()
PacketLen = 0;
RXNum = 0;
NumAdapters = 0;
for (int i = 0; PCapLibNames[i]; i++)
{
void* lib = SDL_LoadObject(PCapLibNames[i]);