Zach Hilman
fc1574a4de
nso: Optimize loading of IPS patches
Avoid resource-heavy classes and remove quasi-duplicated code.
7 years ago
Zach Hilman
4f26c89688
patch_manager: Add PatchNSO function
While PatchExeFS operated on the entire directory, this function operates on the uncompressed NSO. Avoids copying decompression code to PatchManager.
7 years ago
Zach Hilman
d913dba14a
patch_manager: Use strings for patch type instead of enum
7 years ago
Zach Hilman
0ad053c374
aoc_u: Extract AccumulateAOCTitleIDs to separate function
7 years ago
Zach Hilman
7e0956b870
aoc_u: Implement GetAddOnContentBaseId
Command #5
7 years ago
Zach Hilman
cfc63b8736
patch_manager: Add DLC recognition to PatchManager
7 years ago
Lioncash
77f4e47b49
patch_manager: Invert conditionals within ApplyLayeredFS()
Avoids the need to nest code quite a bit by early-exiting in error
cases.
7 years ago
Lioncash
c42d80cd15
vfs_concat/vfs_layered: Remove friend declarations from ConcatenatedVfsFile
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.
7 years ago
Zach Hilman
0243903c12
fsmitm: Cleanup and modernize fsmitm port
7 years ago
Zach Hilman
9d428044ad
patch_manager: Add LayeredFS mods support
7 years ago
Lioncash
315f6ef402
file-sys: Default heavy-weight class destructors in the cpp file
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.
7 years ago
fearlessTobi
1190ea6ddb
Port #4182 from Citra: "Prefix all size_t with std::"
7 years ago
Lioncash
1c61b93026
file_sys/patch_manager: Add missing includes
These includes were previously being satisfied indirectly.
7 years ago
Zach Hilman
46eb9ec6ba
bktr: Fix bucket overlap error
7 years ago
Zach Hilman
14a18fd7ae
patch_manager: Centralize Control-type NCA parsing
7 years ago
Zach Hilman
ac7d3882b4
game_list: Fix version display on non-NAND titles
7 years ago
Zach Hilman
b555718bb9
bktr: Add logging on successful patch
7 years ago
Zach Hilman
e88835cd40
bktr: Fix missing includes and optimize style
7 years ago
Zach Hilman
1b8f19f417
file_sys: Add class to manage game patches
Right now only includes Updates, but should eventually contain all of the other patches we need.
7 years ago