FearlessTobi
0f9288e38d
vfs: Move vfs files to their own directory
2 years ago
t895
03fa91ba3c
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
3ef9673360
core: improve debug workflow
3 years ago
Liam
86f6b6b7b2
vfs: expand support for NCA reading
3 years ago
Morph
99ceb03a1c
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
511ee03a21
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
6f8a06bac5
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
a4392c24cf
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.
6 years ago
Lioncash
637ab14ae6
patch_manager: Make a few functions internally linked
These functions are only used within this translation unit, so we can
make them internally linked.
6 years ago
ReinUsesLisp
827ff077e7
file_sys/patch_manager: Add missing include
Fixes build issues
6 years ago
Lioncash
01d1b5cdaf
file_sys: Replace inclusions with forward declarations where applicable
Same behavior, minus unnecessary inclusions where not necessary.
6 years ago
lat9nq
326403518d
Address requested changes
6 years ago
lat9nq
136c563f76
*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
4caff51710
core: memory: Move to Core::Memory namespace.
- helpful to disambiguate Kernel::Memory namespace.
6 years ago
Zach Hilman
a0055192fe
patch_manager: Update cheat parsing for new VM
7 years ago
Zach Hilman
d10fc2d727
glue: Correct missing bytes in ApplicationLaunchParameter
7 years ago
Zach Hilman
a468273221
patch_manager: Add getter for title version
7 years ago
Zach Hilman
552d5071fa
patch_manager: Dump NSO name with build ID
7 years ago
Lioncash
540235bb05
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
c5091bfe00
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
0cea05cdf7
patch_manager: Obey disabled add-ons list when patching game
7 years ago
Lioncash
6636f3ff47
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.
8 years ago
Zach Hilman
38c2ac95af
romfs_factory: Extract packed update setter to new function
8 years ago
Zach Hilman
d79d4fd764
patch_manager: Add support for packed updates
Will prefer any installed update over the packed version.
8 years ago
Zach Hilman
9669cdb710
ips_layer: Add support for escape sequences and midline comments
More accurately follows IPSwitch specification.
8 years ago
Zach Hilman
215b65fe75
nso: Optimize loading of IPS patches
Avoid resource-heavy classes and remove quasi-duplicated code.
8 years ago
Zach Hilman
42fb4e82d3
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.
8 years ago
Zach Hilman
4c2a94fa94
patch_manager: Use strings for patch type instead of enum
8 years ago
Zach Hilman
32fc31fb13
patch_manager: Add DLC recognition to PatchManager
8 years ago
Zach Hilman
16188acb50
patch_manager: Add LayeredFS mods support
8 years ago
Lioncash
05ef9dfc10
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.
8 years ago
Lioncash
a859a35ec8
file_sys/patch_manager: Add missing includes
These includes were previously being satisfied indirectly.
8 years ago
Zach Hilman
c913136eb2
bktr: Fix bucket overlap error
8 years ago
Zach Hilman
23a16c1720
patch_manager: Centralize Control-type NCA parsing
8 years ago
Zach Hilman
c91b60a421
game_list: Fix version display on non-NAND titles
8 years ago
Zach Hilman
cbd517d8cc
bktr: Add logging on successful patch
8 years ago
Zach Hilman
9664ce255d
bktr: Fix missing includes and optimize style
8 years ago
Zach Hilman
8e900a301a
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