Merge pull request #3539 from Sonicadvance1/two_adapters_one_pc
Allow multiple GC adapters on one PC to be used with multiple Dolphin instances.
This commit is contained in:
commit
3a12dccac7
|
@ -190,7 +190,11 @@ void Setup()
|
||||||
{
|
{
|
||||||
libusb_device* device = list[d];
|
libusb_device* device = list[d];
|
||||||
if (CheckDeviceAccess(device))
|
if (CheckDeviceAccess(device))
|
||||||
|
{
|
||||||
|
// Only connect to a single adapter in case the user has multiple connected
|
||||||
AddGCAdapter(device);
|
AddGCAdapter(device);
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
libusb_free_device_list(list, 1);
|
libusb_free_device_list(list, 1);
|
||||||
|
|
Loading…
Reference in New Issue