switchbrew / libnx

Library for Switch Homebrew

Home Page:https://switchbrew.github.io/libnx/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

usbHsEpClose filling the EpSession for the length of IfSession

cathery opened this issue · comments

Line reference

I don't think this is intentional. My code works fine with singular objects using EpSession, but as soon as arrays come into play, everything crashes. (probably due to the size of EpSession being changed? is that a thing?) After changing the type in sizeof() to UsbHsClientEpSession, everything works fine again.

Ugh, thanks.