summaryrefslogtreecommitdiffstats
path: root/src/core/loader/nsp.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-11-04core: Remove unused includesameerj1-1/+0
2021-07-20file_sys: Support load game collection (#6582)Feng Chen1-16/+18
Adds support for loading games with multiple programs embedded within such as the Dragon Quest 1+2+3 Collection
2021-05-06hle: kernel: Rename Process to KProcess.bunnei1-2/+2
2021-04-27loader: Resolve instances of variable shadowingLioncash1-20/+33
Eliminates variable shadowing cases across all the loaders to bring us closer to enabling variable shadowing as an error in core.
2020-11-25core: loader: Implement support for loading indexed programs.bunnei1-2/+3
2020-11-18patch_manager: Remove usages of the global system instanceLioncash1-6/+13
With this, only 19 usages of the global system instance remain within the core library. We're almost there.
2020-09-16core/loader: Remove dependencies on the global system instanceLioncash1-4/+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-09-21yuzu: Port old usages of Filesystem namespace to FilesystemControllerZach Hilman1-1/+3
2019-07-02file_sys: Rename other ContentRecordType membersBakugo1-1/+2
2019-06-10nsp: Correct status codes for extracted NSPsZach Hilman1-13/+12
Avoids all extracted NSPs being marked as error file type because they don't have program NCAs.
2019-06-10nsp: Use title ID from NPDM metadata for extracted type NSPsZach Hilman1-1/+1
Avoids 0 being used as title ID for all extracted NSPs.
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-15/+23
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-28loader: Add accessor for Manual RomFSZach Hilman1-0/+8
2018-12-27loader: Add accessor for game control dataZach Hilman1-2/+2
2018-12-03loader: Add support for reading the name of game's developerZach Hilman1-0/+7
2018-10-27loader/nsp: Move secondary loader initialization to constructorZach Hilman1-17/+20
Prevents nullptr bug when trying to dump the RomFS of an NSP resulting from secondary_loader not being initialized.
2018-10-09patch_manager: Return a std::unique_ptr from ParseControlNCA() and GetControlMetadata() instead of a std::shared_ptrLioncash1-1/+1
Neither of these functions require the use of shared ownership of the returned pointer. This makes it more difficult to create reference cycles with, and makes the interface more generic, as std::shared_ptr instances can be created from a std::unique_ptr, but the vice-versa isn't possible. This also alters relevant functions to take NCA arguments by const reference rather than a const reference to a std::shared_ptr. These functions don't alter the ownership of the memory used by the NCA instance, so we can make the interface more generic by not assuming anything about the type of smart pointer the NCA is contained within and make it the caller's responsibility to ensure the supplied NCA is valid.
2018-10-05romfs_factory: Extract packed update setter to new functionZach Hilman1-0/+6
2018-10-05loader: Add getter for packed updateZach Hilman1-0/+18
Reads the update included with the game if it has one and adds the new ErrorNoPackedUpdate status.
2018-10-05loader: Add ReadRomFSIVFCOffset to NSP, XCI, and NAX loadersZach Hilman1-2/+6
Fixes errors with certain updates
2018-09-29loader: Make the Load() function take a process as a regular reference, not a SharedPtrLioncash1-3/+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-04patch_manager: Centralize Control-type NCA parsingZach Hilman1-15/+5
2018-09-04main: Only show DRD deprecation warning onceZach Hilman1-1/+1
2018-09-04nsp: Comply with style and performance guidelinesZach Hilman1-2/+9
2018-09-04loader: Add AppLoader for NSP filesZach Hilman1-0/+128