From 5f5cc963cf138235b394898fb48c299b444fa57a Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 1 Mar 2015 12:44:49 +0100 Subject: [PATCH] GC Adapter: stop searching adapters after one has been added --- Source/Core/Core/HW/SI_GCAdapter.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/Core/HW/SI_GCAdapter.cpp b/Source/Core/Core/HW/SI_GCAdapter.cpp index e5cfcea886..7354abd55a 100644 --- a/Source/Core/Core/HW/SI_GCAdapter.cpp +++ b/Source/Core/Core/HW/SI_GCAdapter.cpp @@ -155,6 +155,7 @@ void Setup() else { AddGCAdapter(device); + break; } } else if ((ret != 0 && ret != LIBUSB_ERROR_NOT_SUPPORTED)) @@ -170,6 +171,7 @@ void Setup() else { AddGCAdapter(device); + break; } } }