Zach Hilman
b555718bb9
bktr: Add logging on successful patch
7 years ago
Zach Hilman
b8f8b0fa47
bktr: Implement IVFC offset shifting
Fixes base game read errors
7 years ago
Zach Hilman
e88835cd40
bktr: Fix missing includes and optimize style
7 years ago
Zach Hilman
77282b170f
patch_manager: Add usages of patches to ExeFS
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
Zach Hilman
d4d0d3d933
file_sys: Add BKTR patching mechanism
7 years ago
Zach Hilman
de4a0027c1
content_archive: Add BKTR header parsing to NCA
7 years ago
Zach Hilman
6e6f8cf474
registration: Add RegisteredCacheUnion
Aggregates multiple caches into one interface
7 years ago
Zach Hilman
44448809d5
main: Only show DRD deprecation warning once
7 years ago
Zach Hilman
79f66a7e8d
control_metadata: Use alternate language names if AmericanEnglish isn't available
7 years ago
Zach Hilman
a67309aa0e
card_image: Add program title ID getter
7 years ago
Zach Hilman
887ffb2512
nsp: Comply with style and performance guidelines
7 years ago
Zach Hilman
87a91f6b09
registration: Add support for installing NSP files
7 years ago
Zach Hilman
57769f8d0d
card_image: Parse XCI secure partition with NSP
Eliminated duplicate code and adds support for Rev1+ carts
7 years ago
Zach Hilman
a9397ca8c0
file_sys: Add Nintendo Submission Package (NSP)
7 years ago
Lioncash
a9f4e31cc0
file_sys: Replace includes with forward declarations where applicable
Cuts down on include dependencies, resulting in less files that need to
be rebuilt when certain things are changed.
7 years ago
Lioncash
df444a4a8e
vfs_real: Forward declare IOFile
Eliminates the need to rebuild some source files if the file_util header
ever changes. This also uncovered some indirect inclusions, which have
also been fixed.
7 years ago
Lioncash
84f855a61d
core/core: Replace includes with forward declarations where applicable
The follow-up to 88597535d6 , which
replaces most of the includes in the core header with forward declarations.
This makes it so that if any of the headers the core header was
previously including change, then no one will need to rebuild the bulk
of the core, due to core.h being quite a prevalent inclusion.
This should make turnaround for changes much faster for developers.
7 years ago
Lioncash
402118fae3
vfs_real: Remove unused variable in CreateDirectoryRelative()
7 years ago
Lioncash
02030bad92
registered_cache: Get rid of variable shadowing in ProcessFiles()
Prevents compiler warnings.
7 years ago
Zach Hilman
89422004c3
file_sys/crypto: Fix missing/unnecessary includes
7 years ago
Zach Hilman
7e04e10f4d
xci: Ignore NCA files with updates in secure
7 years ago
Zach Hilman
87927a3be7
content_archive: Add update title detection
This is needed because the title IDs of update NCAs will not use the update title ID. The only sure way to tell is to look for a partition with BKTR crypto.
7 years ago
Zach Hilman
8b989b2e11
key_manager: Create keys dir if it dosen't exist
On call to WriteKeyToFile, so that the autogenerated file can be written.
7 years ago
Zach Hilman
d867928e90
file_sys: Cut down on includes and copies
7 years ago
Zach Hilman
d3225fdae9
crypto: Eliminate magic constants
7 years ago
Zach Hilman
32b5f6d88d
file_sys: Implement NAX containers
7 years ago
Zach Hilman
d407472129
registration: Add GetEntryUnparsed methods
Returns the file before calling parser on it.
7 years ago
Zach Hilman
8bc95b876e
sdmc_factory: Add SDMC RegisteredCache getter
7 years ago
Zach Hilman
1f77f3409a
vfs: Add GetOrCreateDirectoryRelative method
7 years ago
Zach Hilman
1369a56ec3
xts_encryption_layer: Implement XTSEncryptionLayer
7 years ago
Zach Hilman
1c1491a1cf
xci: Fix error masking issue
Prevents NCA-related errors from being masked into MissingProgramNCA or MissingKeyFile
7 years ago
Lioncash
e1124b6510
vfs: Replace mode.h include with forward declarations where applicable
Avoids the need to rebuild these source files if the mode header
changes.
7 years ago
Lioncash
1c234d2e03
sdmc_factory: Remove unnecessary core include
This doesn't require the central core header to be included, it just
needs the vfs headers.
7 years ago
tech4me
5e70a75986
qt/main: Port part of citra( #3411 ), open savedata works
7 years ago
Lioncash
1d77a31e1d
service/filesystem: Use forward declarations where applicable
Avoids the need to rebuild multiple source files if the filesystem code
headers change.
This also gets rid of a few instances of indirect inclusions being
relied upon
7 years ago
Lioncash
935346a9b2
romfs_factory: Remove unnecessary includes and use forward declarations where applicable
Avoids the need to rebuild whatever includes the romfs factory header if
the loader header ever changes. We also don't need to include the main
core header. We can instead include the headers we specifically need.
7 years ago
Zach Hilman
132d82db7d
registration: Add Data_Unknown5 NCAContentType
7 years ago
Zach Hilman
350941e45e
filesystem: Add support for loading of system archives
7 years ago
Lioncash
890507ecf1
common: Namespace hex_util.h/.cpp
It's in the common code, so it should be under the Common namespace like
everything else.
7 years ago
Lioncash
aaed702790
loader: Make ResultStatus directly compatible with fmt
We can make the enum class type compatible with fmt by providing an
overload of operator<<.
While we're at it, perform proper bounds checking. If something exceeds
the array, it should be a hard fail, because it's, without a doubt, a
programmer error in this case.
7 years ago
Lioncash
cdeac9103f
vfs: Make VfsFilesystem constructor explicit
Makes it consistent with the other VFS interfaces and prevents implicit
construction.
8 years ago
Lioncash
80ac82c9c5
vfs: Make type hierarchy objects classes instead of structs
struct should be used when the data type is very simple or otherwise has
no invariants associated with it. Given these are used to form a
hierarchy, class should be used instead.
8 years ago
Zach Hilman
3781654c6d
registration: Various style and documentation improvements
Fix logic in RealVfsFilesystem Create methods
Remove magic numbers
Fix regex errors
8 years ago
Lioncash
7803b153d8
vfs: Use sanitized paths within MoveFile() and MoveDirectory()
Previously these were being unused (or partially unused). While we're at
it, use better naming to make it visibly obvious which variant of the
path is being used.
8 years ago
Lioncash
91c673cac7
card_image: Use type aliases to shorten definitions
We have the aliases, so we may as well use 'em.
8 years ago
Lioncash
d323d72fd5
card_image: Simplify return statement of GetSubdirectories()
We don't need to write out the construction long-form, we can just let
the language itself work it out off the return type.
8 years ago
David Marcec
bba02ec641
made ResultStatus a u16
8 years ago
Zach Hilman
8c33f20792
registration: Add support for force overwrite of installed
8 years ago
Zach Hilman
fdb155ca09
vfs_real: Add CreateFullPath to Create* operations
8 years ago