aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/card_image.cpp
AgeCommit message (Collapse)Author
2024-01-25vfs: Move vfs files to their own directoryFearlessTobi
2023-08-21Merge pull request #11309 from liamwhite/full-xciliamwhite
file_sys/card_image: support dumps with prepended key area
2023-08-17file_sys/card_image: support dumps with prepended key areaLiam
2023-08-16file_sys: tolerate empty NCALiam
2023-08-15fssystem: rework for yuzu styleLiam
2023-08-15vfs: expand support for NCA readingLiam
2022-10-22general: Resolve -Wunused-lambda-capture and C5233Morph
2022-04-23general: Convert source file copyright comments over to SPDXMorph
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2021-11-03core: Remove unused includesameerj
2021-07-20file_sys: Support load game collection (#6582)Feng Chen
Adds support for loading games with multiple programs embedded within such as the Dragon Quest 1+2+3 Collection
2021-05-02file_sys: Resolve cases of variable shadowingLioncash
Brings us closer to enabling -Wshadow as an error in the core code.
2020-11-24core: loader: Implement support for loading indexed programs.bunnei
2020-08-23file_sys: Replace inclusions with forward declarations where applicableLioncash
Same behavior, minus unnecessary inclusions where not necessary.
2020-05-20crypto: Make KeyManager a singleton classFearlessTobi
Previously, we were reading the keys everytime a KeyManager object was created, causing yuzu to reread the keys file multiple hundreds of times when loading the game list. With this change, it is only loaded once. On my system, this decreased game list loading times by a factor of 20.
2019-10-13card_image: Implement system update commands in XCIZach Hilman
2019-09-22card_image: Add accessors for raw partitions in XCIZach Hilman
2019-09-22card_image: Lazily load partitions in XCIZach Hilman
2019-09-21card_image: Add accessors for gamecard certificateZach Hilman
Used by fsp-srv/IDeviceOperator
2019-09-21card_image: Add functions to query gamecard update partitionZach Hilman
Includes version and meta title ID, used by fsp-srv/IDeviceOperator
2019-06-12file_sys/card_image: Remove obsolete TODOLioncash
We already support Rev 1+.
2019-06-10file_sys/card_image: Deduplicate casts within AddNCAFromPartition()Lioncash
Makes for nicer reading.
2019-06-10file_sys/card_image: Make bracing consistentLioncash
Makes for more consistent reading.
2019-06-10file_sys/card_image: Assign collapsed NCA contents directly to ncas memberLioncash
Same thing, significantly less noisy.
2019-06-10file_sys/card_image: Deduplicate type castLioncash
Same thing, less duplication. We can also std::move raw into the PartitionFilesystem constructor.
2019-06-10file_sys/card_image: Get rid of a magic numberLioncash
We can just use the size of the array to dehardcode it.
2019-06-10file_sys/card_image: Use std::array deduction guidesLioncash
Same thing, less code.
2018-11-01file_sys: Use common KeyManager in NCA container typesZach Hilman
Creates a single KeyManager for the entire container and then passes it into the NCA constructor, eliminating several unnecessary KeyManager reads.
2018-10-19vfs: Remove InterpretAsDirectory and related functionsZach Hilman
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 NCALioncash
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-02card_image: Ensure program_nca_status is always initializedLioncash
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::"fearlessTobi
2018-09-04nsp: Fix error masking issue with XCI filesZach Hilman
Now display correct error instead of catch-all MissingProgramNCA
2018-09-04card_image: Add program title ID getterZach Hilman
2018-09-04nsp: Comply with style and performance guidelinesZach Hilman
2018-09-04card_image: Parse XCI secure partition with NSPZach Hilman
Eliminated duplicate code and adds support for Rev1+ carts
2018-09-03file_sys: Replace includes with forward declarations where applicableLioncash
Cuts down on include dependencies, resulting in less files that need to be rebuilt when certain things are changed.
2018-08-23xci: Ignore NCA files with updates in secureZach Hilman
2018-08-23xci: Fix error masking issueZach Hilman
Prevents NCA-related errors from being masked into MissingProgramNCA or MissingKeyFile
2018-08-15Merge pull request #1005 from DarkLordZach/registered-fmtbunnei
file_sys: Add support for registration format
2018-08-15loader: Make ResultStatus directly compatible with fmtLioncash
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 definitionsLioncash
We have the aliases, so we may as well use 'em.
2018-08-12card_image: Simplify return statement of GetSubdirectories()Lioncash
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-11card_image: Add accessor for all NCAs in XCIZach Hilman
2018-08-09loader: Add more descriptive errorsZach Hilman
Full list of new errors and descriptions in core/loader/loader.h
2018-08-06loader: Add icon and title support to XCIZach Hilman
2018-08-01Use ErrorEncrypted where applicable and fix no keys crashZach Hilman
2018-08-01Add missing includes and use const where applicableZach Hilman
2018-08-01Make XCI comply to review and style guidelinesZach Hilman
2018-08-01Remove files that are not usedZach Hilman