summaryrefslogtreecommitdiff
path: root/src/core/loader/nax.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* vfs: expand support for NCA readingGravatar Liam2023-08-151-4/+0
|
* general: Convert source file copyright comments over to SPDXGravatar Morph2022-04-231-3/+2
| | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
* core: Remove unused includesGravatar ameerj2021-11-031-1/+0
|
* hle: kernel: Rename Process to KProcess.Gravatar bunnei2021-05-051-2/+2
|
* loader: Resolve instances of variable shadowingGravatar Lioncash2021-04-271-6/+5
| | | | | Eliminates variable shadowing cases across all the loaders to bring us closer to enabling variable shadowing as an error in core.
* core/loader: Remove dependencies on the global system instanceGravatar Lioncash2020-09-161-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.
* loader: Move NSO module tracking to AppLoaderGravatar Zach Hilman2019-05-261-0/+4
| | | Also cleanup of general stuff
* core/core: Move process execution start to System's Load()Gravatar Lioncash2019-04-111-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.
* loader: Propagate NCA logo section to ReadBanner and ReadLogoGravatar Zach Hilman2019-01-151-0/+9
|
* loaders: Make GetFileType() a const qualified member functionGravatar Lioncash2018-12-051-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.
* loader: Add ReadRomFSIVFCOffset to NSP, XCI, and NAX loadersGravatar Zach Hilman2018-10-051-0/+4
| | | | Fixes errors with certain updates
* loader: Make the Load() function take a process as a regular reference, not ↵Gravatar Lioncash2018-09-291-1/+1
| | | | | | | | | | a SharedPtr 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()Gravatar 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()Gravatar 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 includesGravatar Zach Hilman2018-08-241-1/+0
|
* file_sys: Cut down on includes and copiesGravatar Zach Hilman2018-08-231-0/+2
|
* nax: Add AppLoader_NAX and update loader to support itGravatar Zach Hilman2018-08-231-0/+65