summaryrefslogtreecommitdiffstats
path: root/src/core/loader/nax.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* loader: Add ReadRomFSIVFCOffset to NSP, XCI, and NAX loadersZach Hilman2018-10-051-0/+4
| | | | Fixes errors with certain updates
* loader: Make the Load() function take a process as a regular reference, not a SharedPtrLioncash2018-09-291-1/+1
| | | | | | | | A process should never require being reference counted in this situation. If the handle to a process is freed before this function is called, it's definitely a bug with our lifetime management, so we can put the requirement in place for the API that the process must be a valid instance.
* nax: Avoid re-parsing NAX data with GetFileType()Lioncash2018-09-191-10/+18
| | | | | | | | | An instance of the NAX apploader already has an existing NAX instance in memory. Calling directly into IdentifyType() directly would re-parse the whole file again into yet another NAX instance, only to toss it away again. This gets rid of unnecessary/redundant file parsing and allocations.
* nax: Avoid unnecessary calls to AsNCA() in IdentifyType()Lioncash2018-09-191-4/+8
| | | | | | | | | AsNCA() allocates an NCA instance every time it's called. In the current manner it's used, it's quite inefficient as it's making a redundant allocation. We can just amend the order of the conditionals to make it easier to just call it once.
* file_sys/crypto: Fix missing/unnecessary includesZach Hilman2018-08-251-1/+0
|
* file_sys: Cut down on includes and copiesZach Hilman2018-08-231-0/+2
|
* nax: Add AppLoader_NAX and update loader to support itZach Hilman2018-08-231-0/+65