From cbe4e5a39bc395f423909324d82610def5972ada Mon Sep 17 00:00:00 2001 From: cathery Date: Fri, 22 Nov 2019 00:39:35 +0300 Subject: [PATCH] Fix multiple controllers being removed on unplug --- source/mainLoop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/mainLoop.cpp b/source/mainLoop.cpp index 67160b2..1e1c111 100644 --- a/source/mainLoop.cpp +++ b/source/mainLoop.cpp @@ -265,7 +265,7 @@ Result mainLoop() WriteToLog("Interface state was changed"); eventClear(usbHsGetInterfaceStateChangeEvent()); - UsbHsInterface interfaces[4]; + UsbHsInterface interfaces[16]; s32 total_entries; rc = usbHsQueryAcquiredInterfaces(interfaces, sizeof(interfaces), &total_entries);