Zach Hilman
3952c73aee
card_image: Lazily load partitions in XCI
6 years ago
Zach Hilman
ccaafaccfc
card_image: Add accessors for gamecard certificate
Used by fsp-srv/IDeviceOperator
7 years ago
Zach Hilman
77f9ecd32b
card_image: Add functions to query gamecard update partition
Includes version and meta title ID, used by fsp-srv/IDeviceOperator
7 years ago
Lioncash
820bcee6a4
file_sys/card_image: Provide named members for the GamecardInfo struct
Fills out the struct according to information provided by SwitchBrew
7 years ago
Zach Hilman
97d425c304
file_sys: Use common KeyManager in NCA container types
Creates a single KeyManager for the entire container and then passes it into the NCA constructor, eliminating several unnecessary KeyManager reads.
7 years ago
Zach Hilman
a25d79cfaa
vfs: Remove InterpretAsDirectory and related functions
When writing VFS, it initally seemed useful to include a function to in-place convert container files into directories in one homogenous directory structure, but re-evaluating it now there have been plenty of chances to use it and there has always been a better way. Removing as it is unused and likely will not be used.
7 years ago
Lioncash
73e1e929a2
XCI: Add function for checking the existence of the program NCA
The only reason the getter existed was to check whether or not the
program NCA was null. Instead, we can just provide a function to query
for the existence of it, instead of exposing it entirely.
7 years ago
Zach Hilman
87be4bc283
main: Only show DRD deprecation warning once
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
5c8aff984e
card_image: Parse XCI secure partition with NSP
Eliminated duplicate code and adds support for Rev1+ carts
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
Zach Hilman
a9dc5a3c10
xci: Fix error masking issue
Prevents NCA-related errors from being masked into MissingProgramNCA or MissingKeyFile
7 years ago
Lioncash
7b6519741b
card_image: Use type aliases to shorten definitions
We have the aliases, so we may as well use 'em.
7 years ago
Zach Hilman
ab8acce645
card_image: Add accessor for all NCAs in XCI
8 years ago
Zach Hilman
03149d3e4a
Add missing includes and use const where applicable
8 years ago
Zach Hilman
df5b75694f
Remove files that are not used
8 years ago