Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | patch_manager: Return a std::unique_ptr from ParseControlNCA() and GetControlMetadata() instead of a std::shared_ptr | Lioncash | 2018-10-09 | 1 | -8/+7 |
| | | | | | | | | | | | | | | 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. | ||||
* | Merge pull request #1423 from DarkLordZach/romfs-file-exts | bunnei | 2018-10-08 | 1 | -1/+9 |
|\ | | | | | fsmitm_romfsbuild: Add support for stubbing and IPS patches in LFS | ||||
| * | patch_manager: Avoid romfs_ext requirement for patching | Zach Hilman | 2018-10-04 | 1 | -4/+1 |
| | | |||||
| * | fsmitm_romfsbuild: Extract stubs and IPS to romfs_ext dir | Zach Hilman | 2018-10-04 | 1 | -1/+12 |
| | | |||||
* | | Merge pull request #1424 from DarkLordZach/ips-witch | bunnei | 2018-10-08 | 1 | -23/+59 |
|\ \ | | | | | | | ips_layer: Add support for IPSwitch executable patches | ||||
| * | | ips_layer: Fix inaccuracies with comments and flags | Zach Hilman | 2018-10-04 | 1 | -1/+1 |
| | | | | | | | | | Specifically bugs/crashes that arise when putting them in positions that are legal but not typical, such as midline, between patch data, or between patch records. | ||||
| * | | ips_layer: Deduplicate resource usage | Zach Hilman | 2018-10-04 | 1 | -2/+4 |
| | | | |||||
| * | | patch_manager: Add support for IPSwitch format patches | Zach Hilman | 2018-10-04 | 1 | -22/+56 |
| |/ | |||||
* | | romfs_factory: Extract packed update setter to new function | Zach Hilman | 2018-10-05 | 1 | -3/+4 |
| | | |||||
* | | patch_manager: Add support for NSP packed updates | Zach Hilman | 2018-10-05 | 1 | -2/+2 |
| | | | | | | | | Reads as Update (NSP) in add-ons | ||||
* | | patch_manager: Add support for packed updates | Zach Hilman | 2018-10-05 | 1 | -3/+12 |
|/ | | | | Will prefer any installed update over the packed version. | ||||
* | nso: Optimize loading of IPS patches | Zach Hilman | 2018-10-02 | 1 | -44/+37 |
| | | | | Avoid resource-heavy classes and remove quasi-duplicated code. | ||||
* | patch_manager: Add PatchNSO function | Zach Hilman | 2018-10-01 | 1 | -0/+94 |
| | | | | While PatchExeFS operated on the entire directory, this function operates on the uncompressed NSO. Avoids copying decompression code to PatchManager. | ||||
* | patch_manager: Use strings for patch type instead of enum | Zach Hilman | 2018-10-01 | 1 | -19/+31 |
| | |||||
* | aoc_u: Extract AccumulateAOCTitleIDs to separate function | Zach Hilman | 2018-10-01 | 1 | -1/+2 |
| | |||||
* | aoc_u: Implement GetAddOnContentBaseId | Zach Hilman | 2018-10-01 | 1 | -2/+3 |
| | | | Command #5 | ||||
* | patch_manager: Add DLC recognition to PatchManager | Zach Hilman | 2018-10-01 | 1 | -0/+26 |
| | |||||
* | patch_manager: Invert conditionals within ApplyLayeredFS() | Lioncash | 2018-09-26 | 1 | -27/+30 |
| | | | | | Avoids the need to nest code quite a bit by early-exiting in error cases. | ||||
* | vfs_concat/vfs_layered: Remove friend declarations from ConcatenatedVfsFile | Lioncash | 2018-09-26 | 1 | -3/+2 |
| | | | | | | Given these are only added to the class to allow those functions to access the private constructor, it's a better approach to just make them static functions in the interface, to make the dependency explicit. | ||||
* | fsmitm: Cleanup and modernize fsmitm port | Zach Hilman | 2018-09-24 | 1 | -31/+35 |
| | |||||
* | patch_manager: Add LayeredFS mods support | Zach Hilman | 2018-09-22 | 1 | -1/+42 |
| | |||||
* | file-sys: Default heavy-weight class destructors in the cpp file | Lioncash | 2018-09-20 | 1 | -0/+2 |
| | | | | | | | | | | Several classes have a lot of non-trivial members within them, or don't but likely should have the destructor defaulted in the cpp file for future-proofing/being more friendly to forward declarations. Leaving the destructor unspecified allows the compiler to inline the destruction code all over the place, which is generally undesirable from a code bloat perspective. | ||||
* | Port #4182 from Citra: "Prefix all size_t with std::" | fearlessTobi | 2018-09-15 | 1 | -2/+2 |
| | |||||
* | file_sys/patch_manager: Add missing includes | Lioncash | 2018-09-06 | 1 | -0/+4 |
| | | | | These includes were previously being satisfied indirectly. | ||||
* | bktr: Fix bucket overlap error | Zach Hilman | 2018-09-04 | 1 | -0/+3 |
| | |||||
* | patch_manager: Centralize Control-type NCA parsing | Zach Hilman | 2018-09-04 | 1 | -20/+55 |
| | |||||
* | game_list: Fix version display on non-NAND titles | Zach Hilman | 2018-09-04 | 1 | -6/+22 |
| | |||||
* | bktr: Add logging on successful patch | Zach Hilman | 2018-09-04 | 1 | -5/+17 |
| | |||||
* | bktr: Fix missing includes and optimize style | Zach Hilman | 2018-09-04 | 1 | -19/+16 |
| | |||||
* | file_sys: Add class to manage game patches | Zach Hilman | 2018-09-04 | 1 | -0/+90 |
Right now only includes Updates, but should eventually contain all of the other patches we need. |