mirror of
https://github.com/cathery/sys-con.git
synced 2025-01-13 06:36:37 +00:00
Raise device limit to 10 and prevent it from going any further
This commit is contained in:
parent
562f5f37dc
commit
fc48561b3a
@ -98,7 +98,7 @@ Result mainLoop()
|
||||
WriteToLog("Successfully created catch-all event");
|
||||
}
|
||||
|
||||
controllerInterfaces.reserve(8);
|
||||
controllerInterfaces.reserve(10);
|
||||
|
||||
while (appletMainLoop())
|
||||
{
|
||||
@ -114,6 +114,10 @@ Result mainLoop()
|
||||
if (R_SUCCEEDED(rc))
|
||||
{
|
||||
WriteToLog("Catch-all event went off");
|
||||
if (controllerInterfaces.size() >= 10)
|
||||
WriteToLog("But the controllers table reached its max size!");
|
||||
else
|
||||
{
|
||||
UsbHsInterface interfaces[8];
|
||||
s32 total_entries;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user