summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/card_image.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-10-19vfs: Remove InterpretAsDirectory and related functionsZach Hilman1-4/+0
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.
2018-10-16XCI: Add function for checking the existence of the program NCALioncash1-4/+6
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.
2018-10-03card_image: Ensure program_nca_status is always initializedLioncash1-1/+3
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.
2018-09-15Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi1-7/+8
2018-09-04nsp: Fix error masking issue with XCI filesZach Hilman1-3/+3
Now display correct error instead of catch-all MissingProgramNCA
2018-09-04card_image: Add program title ID getterZach Hilman1-0/+4
2018-09-04nsp: Comply with style and performance guidelinesZach Hilman1-0/+1
2018-09-04card_image: Parse XCI secure partition with NSPZach Hilman1-7/+26
Eliminated duplicate code and adds support for Rev1+ carts
2018-09-04file_sys: Replace includes with forward declarations where applicableLioncash1-0/+3
Cuts down on include dependencies, resulting in less files that need to be rebuilt when certain things are changed.
2018-08-24xci: Ignore NCA files with updates in secureZach Hilman1-0/+3
2018-08-23xci: Fix error masking issueZach Hilman1-0/+9
Prevents NCA-related errors from being masked into MissingProgramNCA or MissingKeyFile
2018-08-15loader: Make ResultStatus directly compatible with fmtLioncash1-2/+5
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.
2018-08-12card_image: Use type aliases to shorten definitionsLioncash1-3/+3
We have the aliases, so we may as well use 'em.
2018-08-12card_image: Simplify return statement of GetSubdirectories()Lioncash1-1/+1
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.
2018-08-12card_image: Add accessor for all NCAs in XCIZach Hilman1-0/+4
2018-08-10loader: Add more descriptive errorsZach Hilman1-7/+12
Full list of new errors and descriptions in core/loader/loader.h
2018-08-07loader: Add icon and title support to XCIZach Hilman1-0/+1
2018-08-01Use ErrorEncrypted where applicable and fix no keys crashZach Hilman1-0/+1
2018-08-01Add missing includes and use const where applicableZach Hilman1-2/+3
2018-08-01Make XCI comply to review and style guidelinesZach Hilman1-9/+6
2018-08-01Remove files that are not usedZach Hilman1-0/+150