summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/submission_package.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-3/+2
| | | | | 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.
* file_sys: Support load game collection (#6582)Feng Chen2021-07-201-4/+7
| | | Adds support for loading games with multiple programs embedded within such as the Dragon Quest 1+2+3 Collection
* core: Make variable shadowing a compile-time errorLioncash2021-05-161-1/+1
| | | | | | Now that we have most of core free of shadowing, we can enable the warning as an error to catch anything that may be remaining and also eliminate this class of logic bug entirely.
* core: loader: Implement support for loading indexed programs.bunnei2020-11-251-1/+3
|
* Merge pull request #3929 from FearlessTobi/ticket-keysbunnei2020-10-131-0/+1
|\ | | | | file_sys/nsp: Make SetTicketKeys actually do something
| * file_sys/nsp: Make SetTicketKeys actually do somethingFearlessTobi2020-07-181-0/+1
| | | | | | | | | | Previously, the method wasn't modifying any class state and therefore not having any effects when called. Since this has been the case for a very long time now, I'm not sure if we couldn't just remove this method altogether.
* | file_sys: Replace inclusions with forward declarations where applicableLioncash2020-08-231-1/+5
|/ | | | Same behavior, minus unnecessary inclusions where not necessary.
* key_manager: Correct casing of instance()Lioncash2020-07-011-1/+1
| | | | Our codebase uppercases member function names.
* crypto: Make KeyManager a singleton classFearlessTobi2020-05-201-1/+1
| | | | | | 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.
* core: Port current uses of RegisteredCache to ContentProviderZach Hilman2019-03-271-4/+7
|
* file_sys: Use common KeyManager in NCA container typesZach Hilman2018-11-021-0/+2
| | | | Creates a single KeyManager for the entire container and then passes it into the NCA constructor, eliminating several unnecessary KeyManager reads.
* vfs: Remove InterpretAsDirectory and related functionsZach Hilman2018-10-191-3/+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.
* submission_package: Ensure the 'extracted' member variable is always initializedLioncash2018-10-031-1/+1
| | | | | | | | If an error occurs when constructing the PartitionFilesystem instance, the constructor would be exited early, which wouldn't initialize the extracted data member, making it possible for other code to perform an uninitialized read by calling the public IsExtractedType() member function. This prevents that.
* submission_package: Move ExeFS and RomFS initialization to its own functionLioncash2018-10-031-0/+1
| | | | | | | | | | Like the other two bits of factored out code, this can also be put within its own function. We can also modify the code so that it accepts a const reference to a std::vector of files, this way, we can deduplicate the file retrieval. Now the constructor for NSP isn't a combination of multiple behaviors in one spot. It's nice and separate.
* submission_package: Move NCA reading code to its own functionLioncash2018-10-031-0/+2
| | | | | | This too, is completely separate behavior from what is in the constructor, so we can move this to its own isolated function to keep everything self-contained.
* file-sys: Default heavy-weight class destructors in the cpp fileLioncash2018-09-201-1/+1
| | | | | | | | | | Several classes have a lot of non-trivial members within them, or don't but likely should have the destructor defaulted in the cpp file for future-proofing/being more friendly to forward declarations. Leaving the destructor unspecified allows the compiler to inline the destruction code all over the place, which is generally undesirable from a code bloat perspective.
* file_sys/submission_package: Replace includes with forward declarations where applicableLioncash2018-09-051-5/+8
|
* main: Only show DRD deprecation warning onceZach Hilman2018-09-041-1/+2
|
* nsp: Comply with style and performance guidelinesZach Hilman2018-09-041-0/+2
|
* file_sys: Add Nintendo Submission Package (NSP)Zach Hilman2018-09-041-0/+70