mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00:00
Allow multiple GC adapters on one PC to be used with multiple Dolphin instances.
Previously we would iterate through every GC adapter plugged in to the PC and steal ownership of it. This causes issues all over the place in the implementation if this happens. Break on the first adapter we can get access to.
This commit is contained in:
parent
a14c07413f
commit
70aa012fef
1 changed files with 4 additions and 0 deletions
|
@ -190,7 +190,11 @@ void Setup()
|
|||
{
|
||||
libusb_device* device = list[d];
|
||||
if (CheckDeviceAccess(device))
|
||||
{
|
||||
// Only connect to a single adapter in case the user has multiple connected
|
||||
AddGCAdapter(device);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
libusb_free_device_list(list, 1);
|
||||
|
|
Loading…
Add table
Reference in a new issue