| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Creates a single KeyManager for the entire container and then passes it into the NCA constructor, eliminating several unnecessary KeyManager reads.
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
If any of the error paths before the NCA retrieval are taken, it'll
result in program_nca_status being left in an inconsistent state. So we
initialize it by default with a value indicating an error.
|
| |
|
|
|
|
| |
Now display correct error instead of catch-all MissingProgramNCA
|
| |
|
| |
|
|
|
|
| |
Eliminated duplicate code and adds support for Rev1+ carts
|
|
|
|
|
| |
Cuts down on include dependencies, resulting in less files that need to
be rebuilt when certain things are changed.
|
| |
|
|
|
|
| |
Prevents NCA-related errors from being masked into MissingProgramNCA or MissingKeyFile
|
|\
| |
| | |
file_sys: Add support for registration format
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
We have the aliases, so we may as well use 'em.
|
|/
|
|
|
| |
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.
|
|
|
| |
Full list of new errors and descriptions in core/loader/loader.h
|
| |
|
| |
|
| |
|
| |
|
|
|