Emulator Issues #8261
closedCore/Core/HW/BBA-TAP/TAP_Win32.cpp - GetGUIDs() returns false if it finds any improperly configured connection
0%
Description
Core/Core/HW/BBA-TAP/TAP_Win32.cpp
GetGUIDs() contains multiple
if (status != ERROR_SUCCESS)
return false;
checks inside the while loop (lines 114, 130), these should be changed to "continue;" instead of "return false;".
In my situation, VirtualBox creates a connection that does not have a "Name" value, when GetGUIDs() encounters this connection, it aborts the entire search and CEXIETHERNET::Activate() logs "Failed to find a TAP GUID" then returns false, despite the fact that GetGUIDs already found a valid TAP adapter.
Updated by tmo7452 about 10 years ago
From what I see, parsing the NETWORK_CONNECTIONS_KEY tree is entirely unnecessary, the code in IsTAPDevice() can be modified to check that the proper network connection registry entries are present with just a single pass through the ADAPTER_KEY tree, making the current content of GetGUIDs() obsolete.
Updated by tmo7452 about 10 years ago
If I fixed this myself, is there a way I could submit my code? Would my work get bureaucracied to oblivion?
"Who uses BBA? Only 3 games support it and we have Netplay!"
Well I tracked down this bug so I could host an 8 player Mario Kart Double Dash party, and and everyone enjoyed it thank you very much.
Updated by JMC4789 about 10 years ago
I'm sorry I didn't see this. You can submit code via a PR, and as long as it meets standards and doesn't break anything, I don't see why it would be rejected.
BBA is an important feature to support, obviously netplay can't do some of the stuff. Individual screens? Hell yes! 8 players? Hell yes!
So yeah, I think it's important to fix any potential problems that users could run into.
Updated by Dentomologist about 1 year ago
It looks like this was addressed by https://github.com/dolphin-emu/dolphin/pull/2832.
Updated by Billiard26 about 1 year ago
- Status changed from New to Fixed
- Fixed in set to 4.0-7214