Maufeat
77371c677a
rework the third, as ExternalContentProvider in patch_manager.cpp (less functions)
5 days ago
FearlessTobi
24f979a4b8
vfs: Move vfs files to their own directory
2 years ago
t895
3df0c826a1
android: Add addon delete button
Required some refactoring of retrieving patches in order for the frontend to pass the right information to ContentManager for deletion.
2 years ago
Liam
efef3d8487
core: improve debug workflow
2 years ago
Liam
5e3139e7c6
vfs: expand support for NCA reading
3 years ago
Morph
2b87305d31
general: Convert source file copyright comments over to SPDX
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.
4 years ago
Morph
263495a5d5
patch_manager: Do not apply LayeredFS mods when dumping
We should not apply any mods when dumping a game's RomFS.
5 years ago
Lioncash
b4b63c878f
patch_manager: Remove usages of the global system instance
With this, only 19 usages of the global system instance remain within
the core library.
We're almost there.
5 years ago
Lioncash
7abb47303e
patch_manager: Make use of type aliases
We can use these to avoid typing the same type redundantly. This way, if
these ever change, only a single location needs to be modified.
5 years ago
Lioncash
e8092e4099
patch_manager: Make a few functions internally linked
These functions are only used within this translation unit, so we can
make them internally linked.
5 years ago
ReinUsesLisp
5bccefe24c
file_sys/patch_manager: Add missing include
Fixes build issues
6 years ago
Lioncash
da15e9f8a7
file_sys: Replace inclusions with forward declarations where applicable
Same behavior, minus unnecessary inclusions where not necessary.
6 years ago
lat9nq
2ad3571453
Address requested changes
6 years ago
lat9nq
2adc5f524d
*nix systems can read any-case patch directories
Changes many patch_manager functions to use a case-less variant of
GetSubdirectory. Fixes patches not showing up on *nix systems when
patch directories are named with odd cases, i.e. `exeFS'.
6 years ago
bunnei
5b9e69e7fe
core: memory: Move to Core::Memory namespace.
- helpful to disambiguate Kernel::Memory namespace.
6 years ago
Zach Hilman
2b944e0d70
patch_manager: Update cheat parsing for new VM
7 years ago
Zach Hilman
12105d8909
glue: Correct missing bytes in ApplicationLaunchParameter
7 years ago
Zach Hilman
7891b418d4
patch_manager: Add getter for title version
7 years ago
Zach Hilman
d6744d9b06
patch_manager: Dump NSO name with build ID
7 years ago
Lioncash
b59b7084c7
file_sys/cheat_engine: Remove use of global system accessors
Instead, pass in the core timing instance and make the dependency
explicit in the interface.
7 years ago
Zach Hilman
57c6d77be0
patch_manager: Add support for loading cheats lists
Uses load/<title_id>/<mod_name>/cheats as root dir, file name is all upper or lower hex first 8 bytes build ID.
7 years ago
Zach Hilman
1c3bade698
patch_manager: Obey disabled add-ons list when patching game
7 years ago
Lioncash
4473ebd41d
patch_manager: Return a std::unique_ptr from ParseControlNCA() and GetControlMetadata() instead of a std::shared_ptr
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.
7 years ago
Zach Hilman
598ca547b2
romfs_factory: Extract packed update setter to new function
7 years ago
Zach Hilman
19ed4d8558
patch_manager: Add support for packed updates
Will prefer any installed update over the packed version.
7 years ago
Zach Hilman
8593274f69
ips_layer: Add support for escape sequences and midline comments
More accurately follows IPSwitch specification.
7 years ago
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
cfc63b8736
patch_manager: Add DLC recognition to PatchManager
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
Lioncash
1c61b93026
file_sys/patch_manager: Add missing includes
These includes were previously being satisfied indirectly.
8 years ago
Zach Hilman
46eb9ec6ba
bktr: Fix bucket overlap error
8 years ago
Zach Hilman
14a18fd7ae
patch_manager: Centralize Control-type NCA parsing
8 years ago
Zach Hilman
ac7d3882b4
game_list: Fix version display on non-NAND titles
8 years ago
Zach Hilman
b555718bb9
bktr: Add logging on successful patch
8 years ago
Zach Hilman
e88835cd40
bktr: Fix missing includes and optimize style
8 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.
8 years ago