libusbhsfs doesn't return FsFileSystem objects, that's why.
Fixed types for some NACP struct entries (thanks @0Liam !) + added functions to generate and write NACP patches.
* Fixed possible invalid memory accesses using TitleInfo pointers from gamecard titles if the gamecard they belong to is taken out. * Fixed invalid for loop condition in _titleGetInfoFromStorageByTitleId() if no gamecard titles have been retrieved.
Completely untested.