GC Adapter: stop searching adapters after one has been added
This commit is contained in:
parent
2916aed1f9
commit
5f5cc963cf
|
@ -155,6 +155,7 @@ void Setup()
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
AddGCAdapter(device);
|
AddGCAdapter(device);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if ((ret != 0 && ret != LIBUSB_ERROR_NOT_SUPPORTED))
|
else if ((ret != 0 && ret != LIBUSB_ERROR_NOT_SUPPORTED))
|
||||||
|
@ -170,6 +171,7 @@ void Setup()
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
AddGCAdapter(device);
|
AddGCAdapter(device);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue