summaryrefslogtreecommitdiffstats
path: root/src/core/loader/nax.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-11-04core: Remove unused includesameerj1-1/+0
2021-05-06hle: kernel: Rename Process to KProcess.bunnei1-2/+2
2021-04-27loader: Resolve instances of variable shadowingLioncash1-6/+5
Eliminates variable shadowing cases across all the loaders to bring us closer to enabling variable shadowing as an error in core.
2020-09-16core/loader: Remove dependencies on the global system instanceLioncash1-2/+3
Now all that remains is: 18 instances in file_sys code 14 instances in GDB stub code (this can be tossed wholesale) 4 instances in HLE code 2 instances in settings code.
2019-05-26loader: Move NSO module tracking to AppLoaderZach Hilman1-0/+4
Also cleanup of general stuff
2019-04-12core/core: Move process execution start to System's Load()Lioncash1-12/+18
This gives us significantly more control over where in the initialization process we start execution of the main process. Previously we were running the main process before the CPU or GPU threads were initialized (not good). This amends execution to start after all of our threads are properly set up.
2019-01-15loader: Propagate NCA logo section to ReadBanner and ReadLogoZach Hilman1-0/+9
2018-12-05loaders: Make GetFileType() a const qualified member functionLioncash1-1/+1
No implementations actually modify instance state (and it would be questionable to do that in the first place given the name), so we can make this a const member function.
2018-10-05loader: Add ReadRomFSIVFCOffset to NSP, XCI, and NAX loadersZach Hilman1-0/+4
Fixes errors with certain updates
2018-09-29loader: Make the Load() function take a process as a regular reference, not a SharedPtrLioncash1-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.
2018-09-19nax: Avoid re-parsing NAX data with GetFileType()Lioncash1-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.
2018-09-19nax: Avoid unnecessary calls to AsNCA() in IdentifyType()Lioncash1-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.
2018-08-25file_sys/crypto: Fix missing/unnecessary includesZach Hilman1-1/+0
2018-08-23file_sys: Cut down on includes and copiesZach Hilman1-0/+2
2018-08-23nax: Add AppLoader_NAX and update loader to support itZach Hilman1-0/+65