summaryrefslogtreecommitdiffstats
path: root/src/core/loader/xci.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* loader: Add getter for packed updateZach Hilman2018-10-051-0/+1
| | | | 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-1/+2
| | | | 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.
* loader/xci: Remove unnecessary includes and member variablesLioncash2018-08-151-4/+8
| | | | | | | | 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 icon and title support to XCIZach Hilman2018-08-071-0/+5
|
* Add missing includes and use const where applicableZach Hilman2018-08-011-0/+3
|
* Make XCI comply to review and style guidelinesZach Hilman2018-08-011-2/+1
|
* Remove files that are not usedZach Hilman2018-08-011-0/+42