summaryrefslogtreecommitdiffstats
path: root/src/core/loader/xci.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* general: Convert source file copyright comments over to SPDXMorph2022-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 includesameerj2021-11-041-1/+0
|
* file_sys: Support load game collection (#6582)Feng Chen2021-07-201-4/+10
| | | Adds support for loading games with multiple programs embedded within such as the Dragon Quest 1+2+3 Collection
* hle: kernel: Rename Process to KProcess.bunnei2021-05-061-2/+2
|
* loader: Resolve instances of variable shadowingLioncash2021-04-271-20/+30
| | | | | Eliminates variable shadowing cases across all the loaders to bring us closer to enabling variable shadowing as an error in core.
* core: loader: Implement support for loading indexed programs.bunnei2020-11-251-2/+3
|
* patch_manager: Remove usages of the global system instanceLioncash2020-11-181-5/+11
| | | | | | | With this, only 19 usages of the global system instance remain within the core library. We're almost there.
* core/loader: Remove dependencies on the global system instanceLioncash2020-09-161-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.
* yuzu: Port old usages of Filesystem namespace to FilesystemControllerZach Hilman2019-09-211-1/+3
|
* file_sys: Rename other ContentRecordType membersBakugo2019-07-021-1/+1
|
* loader: Move NSO module tracking to AppLoaderZach Hilman2019-05-261-0/+4
| | | Also cleanup of general stuff
* core/core: Move process execution start to System's Load()Lioncash2019-04-121-12/+16
| | | | | | | | | 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 ReadLogoZach Hilman2019-01-151-0/+8
|
* loader: Add accessor for Manual RomFSZach Hilman2018-12-281-0/+9
|
* loader: Add accessor for game control dataZach Hilman2018-12-271-2/+3
|
* loader: Add support for reading the name of game's developerZach Hilman2018-12-031-0/+7
|
* XCI: Add function for checking the existence of the program NCALioncash2018-10-161-2/+1
| | | | | | The only reason the getter existed was to check whether or not the program NCA was null. Instead, we can just provide a function to query for the existence of it, instead of exposing it entirely.
* patch_manager: Return a std::unique_ptr from ParseControlNCA() and GetControlMetadata() instead of a std::shared_ptrLioncash2018-10-091-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.
* romfs_factory: Extract packed update setter to new functionZach Hilman2018-10-051-0/+5
|
* loader: Add getter for packed updateZach Hilman2018-10-051-0/+24
| | | | Reads the update included with the game if it has one and adds the new ErrorNoPackedUpdate status.
* loader: Add ReadRomFSIVFCOffset to NSP, XCI, and NAX loadersZach Hilman2018-10-051-2/+5
| | | | Fixes errors with certain updates
* loader: Make the Load() function take a process as a regular reference, not a SharedPtrLioncash2018-09-291-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.
* patch_manager: Centralize Control-type NCA parsingZach Hilman2018-09-041-18/+3
|
* game_list: Fix version display on non-NAND titlesZach Hilman2018-09-041-1/+10
|
* card_image: Parse XCI secure partition with NSPZach Hilman2018-09-041-4/+3
| | | | Eliminated duplicate code and adds support for Rev1+ carts
* xci: Fix error masking issueZach Hilman2018-08-231-5/+6
| | | | Prevents NCA-related errors from being masked into MissingProgramNCA or MissingKeyFile
* loader/xci: Remove unnecessary includes and member variablesLioncash2018-08-151-11/+3
| | | | | | | | Many of these aren't necessary and will cause this file to be required to be recompiled whenever any changes to those files are made, which lengthens compile times for no reason. This also removes an unused metadata variable from AppLoader_XCI
* loader: Add more descriptive errorsZach Hilman2018-08-101-4/+7
| | | Full list of new errors and descriptions in core/loader/loader.h
* loader: Add icon and title support to XCIZach Hilman2018-08-071-1/+32
|
* Fix merge conflicts with opus and update docsZach Hilman2018-08-011-0/+2
|
* Use more descriptive error codes and messagesZach Hilman2018-08-011-1/+1
|
* Use ErrorEncrypted where applicable and fix no keys crashZach Hilman2018-08-011-0/+4
|
* Make XCI comply to review and style guidelinesZach Hilman2018-08-011-3/+4
|
* Remove files that are not usedZach Hilman2018-08-011-0/+67