Lioncash
a859a35ec8
file_sys/patch_manager: Add missing includes
These includes were previously being satisfied indirectly.
7 years ago
Lioncash
6bd6beee20
file_sys/submission_package: Correct constructor initialization list order
Orders the elements in the sequence to match the order in which they'll
actually be initialized in.
7 years ago
Lioncash
c0b7ed8b58
file_sys/submission_package: Replace includes with forward declarations where applicable
7 years ago
Zach Hilman
c913136eb2
bktr: Fix bucket overlap error
7 years ago
Zach Hilman
23a16c1720
patch_manager: Centralize Control-type NCA parsing
7 years ago
Zach Hilman
92e26df00f
nsp: Fix error masking issue with XCI files
Now display correct error instead of catch-all MissingProgramNCA
7 years ago
Zach Hilman
c91b60a421
game_list: Fix version display on non-NAND titles
7 years ago
Zach Hilman
cbd517d8cc
bktr: Add logging on successful patch
7 years ago
Zach Hilman
a6e75cd45b
bktr: Implement IVFC offset shifting
Fixes base game read errors
7 years ago
Zach Hilman
9664ce255d
bktr: Fix missing includes and optimize style
7 years ago
Zach Hilman
97bf83bc56
patch_manager: Add usages of patches to ExeFS
7 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.
7 years ago
Zach Hilman
54e7ddb93a
file_sys: Add BKTR patching mechanism
7 years ago
Zach Hilman
1efe5a76b1
content_archive: Add BKTR header parsing to NCA
7 years ago
Zach Hilman
9951f6d054
registration: Add RegisteredCacheUnion
Aggregates multiple caches into one interface
7 years ago
Zach Hilman
87be4bc283
main: Only show DRD deprecation warning once
7 years ago
Zach Hilman
e973cceadd
control_metadata: Use alternate language names if AmericanEnglish isn't available
7 years ago
Zach Hilman
23d2c50479
card_image: Add program title ID getter
7 years ago
Zach Hilman
e4e55d064e
nsp: Comply with style and performance guidelines
7 years ago
Zach Hilman
f7eaea424d
registration: Add support for installing NSP files
7 years ago
Zach Hilman
5c8aff984e
card_image: Parse XCI secure partition with NSP
Eliminated duplicate code and adds support for Rev1+ carts
7 years ago
Zach Hilman
93703431e2
file_sys: Add Nintendo Submission Package (NSP)
7 years ago
Lioncash
a813c10e1c
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
a405373144
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
4a587b81b2
core/core: Replace includes with forward declarations where applicable
The follow-up to e2457418da , 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
c6024379a4
vfs_real: Remove unused variable in CreateDirectoryRelative()
7 years ago
Lioncash
d3934d7da7
registered_cache: Get rid of variable shadowing in ProcessFiles()
Prevents compiler warnings.
7 years ago
Zach Hilman
6314a799aa
file_sys/crypto: Fix missing/unnecessary includes
7 years ago
Zach Hilman
d1a6dd61d1
xci: Ignore NCA files with updates in secure
7 years ago
Zach Hilman
4f18c17df7
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
119ab308b5
key_manager: Create keys dir if it dosen't exist
On call to WriteKeyToFile, so that the autogenerated file can be written.
8 years ago
Zach Hilman
a7e8d10969
file_sys: Cut down on includes and copies
8 years ago
Zach Hilman
42dc856ce1
crypto: Eliminate magic constants
8 years ago
Zach Hilman
ab44192ab0
file_sys: Implement NAX containers
8 years ago
Zach Hilman
8b52d6682a
registration: Add GetEntryUnparsed methods
Returns the file before calling parser on it.
8 years ago
Zach Hilman
13524578b6
sdmc_factory: Add SDMC RegisteredCache getter
8 years ago
Zach Hilman
bf33f80fae
vfs: Add GetOrCreateDirectoryRelative method
8 years ago
Zach Hilman
c4845df3d4
xts_encryption_layer: Implement XTSEncryptionLayer
8 years ago
Zach Hilman
a9dc5a3c10
xci: Fix error masking issue
Prevents NCA-related errors from being masked into MissingProgramNCA or MissingKeyFile
8 years ago
Lioncash
29ac15d1b8
vfs: Replace mode.h include with forward declarations where applicable
Avoids the need to rebuild these source files if the mode header
changes.
8 years ago
Lioncash
bfb28c5b3f
sdmc_factory: Remove unnecessary core include
This doesn't require the central core header to be included, it just
needs the vfs headers.
8 years ago
tech4me
cc71832b19
qt/main: Port part of citra( #3411 ), open savedata works
8 years ago
Lioncash
477eee3993
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
8 years ago
Lioncash
96463d0a55
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.
8 years ago
Zach Hilman
e8cb6f5c9b
registration: Add Data_Unknown5 NCAContentType
8 years ago
Zach Hilman
27da7bc9da
filesystem: Add support for loading of system archives
8 years ago
Lioncash
b39cd70cd4
common: Namespace hex_util.h/.cpp
It's in the common code, so it should be under the Common namespace like
everything else.
8 years ago
Lioncash
87d8a9c986
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.
8 years ago
Lioncash
b82b093108
vfs: Make VfsFilesystem constructor explicit
Makes it consistent with the other VFS interfaces and prevents implicit
construction.
8 years ago
Lioncash
cf0a7cd1c1
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