summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/registered_cache.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.
* main: Prevent installing base titles into NANDMorph2021-05-161-0/+1
| | | | Many users have been installing their base titles into NAND instead of adding them into the games list. This prevents users from installing any base titles and warns the user about the action.
* file_sys: Resolve cases of variable shadowingLioncash2021-05-021-1/+1
| | | | Brings us closer to enabling -Wshadow as an error in the core code.
* file_sys/registered_cache: Silence virtual functions without override warningsReinUsesLisp2021-01-091-4/+4
|
* General: Tidy up clang-format warnings part 2Lioncash2020-08-131-3/+3
|
* registered_cache: Add support for removing folder ncasMorph2020-07-291-3/+3
|
* clang formatMorph2020-07-151-3/+3
|
* Remove global system instance and address feedbackMorph2020-07-151-1/+1
|
* registered_cache: Remove previous update/dlc if it exists on installMorph2020-07-151-3/+7
| | | | - This checks for and removes old updates or dlc based on title id. If a content meta nca exists within the registered cache, it will attempt to remove all the ncas associated with the content meta before installing a new update/dlc
* 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.
* registered_cache: Implement PlaceholderCache to manage placeholder and installing contentZach Hilman2019-09-211-0/+25
|
* registered_cache: Add getter to determine source slot in content provider unionZach Hilman2019-06-251-0/+3
| | | | Used to determine StorageId source for application data.
* file_sys: Create ContentProvider interface and default implementationsZach Hilman2019-03-271-52/+104
|
* file_sys/registered_cache: Remove unused <map> includeLioncash2018-11-271-1/+0
|
* file_sys/registered_cache: Use regular const references instead of std::shared_ptr for InstallEntry()Lioncash2018-11-271-5/+4
| | | | | | | | | | These parameters don't need to utilize a shared lifecycle directly in the interface. Instead, the caller should provide a regular reference for the function to use. This also allows the type system to flag attempts to pass nullptr and makes it more generic, since it can now be used in contexts where a shared_ptr isn't being used (in other words, we don't constrain the usage of the interface to a particular mode of memory management).
* file_sys: Use common KeyManager in NCA container typesZach Hilman2018-11-021-0/+3
| | | | Creates a single KeyManager for the entire container and then passes it into the NCA constructor, eliminating several unnecessary KeyManager reads.
* global: Use std::optional instead of boost::optional (#1578)Frederic L2018-10-301-13/+10
| | | | | | | | | | | | | | | | * get rid of boost::optional * Remove optional references * Use std::reference_wrapper for optional references * Fix clang format * Fix clang format part 2 * Adressed feedback * Fix clang format and MacOS build
* qt: Add support for dumping a DLC Data RomFSZach Hilman2018-10-181-0/+1
|
* registered_cache: Deduplicate results of ListEntry and ListEntryFilterZach Hilman2018-10-171-2/+5
| | | | Prevents a Entry from appearing in the list twice if the user has it installed in two places (e.g. User NAND and SDMC)
* file_sys/registered_cache: Use unique_ptr and regular pointers instead of shared_ptrs where applicableLioncash2018-10-161-6/+6
| | | | | | | | | | | | | | | The data retrieved in these cases are ultimately chiefly owned by either the RegisteredCache instance itself, or the filesystem factories. Both these should live throughout the use of their contained data. If they don't, it should be considered an interface/design issue, and using shared_ptr instances here would mask that, as the data would always be prolonged after the main owner's lifetime ended. This makes the lifetime of the data explicit and makes it harder to accidentally create cyclic references. It also makes the interface slightly more flexible than the previous API, as a shared_ptr can be created from a unique_ptr, but not the other way around, so this allows for that use-case if it ever becomes necessary in some form.
* qt: Add UI elements for LayeredFS and related toolsZach Hilman2018-09-221-1/+1
|
* bktr: Fix missing includes and optimize styleZach Hilman2018-09-041-1/+1
|
* registration: Add RegisteredCacheUnionZach Hilman2018-09-041-0/+40
| | | | Aggregates multiple caches into one interface
* main: Only show DRD deprecation warning onceZach Hilman2018-09-041-0/+1
|
* registration: Add support for installing NSP filesZach Hilman2018-09-041-2/+4
|
* file_sys: Replace includes with forward declarations where applicableLioncash2018-09-041-4/+7
| | | | | Cuts down on include dependencies, resulting in less files that need to be rebuilt when certain things are changed.
* file_sys: Cut down on includes and copiesZach Hilman2018-08-231-0/+1
|
* registration: Add GetEntryUnparsed methodsZach Hilman2018-08-231-0/+3
| | | | Returns the file before calling parser on it.
* registration: Add support for force overwrite of installedZach Hilman2018-08-121-5/+15
|
* registration: Take RawCopy function as parameterZach Hilman2018-08-121-3/+6
| | | | Instead of defaulting to VfsRawCopy
* file_sys: Comply to style guidelinesZach Hilman2018-08-121-5/+8
|
* file_sys: Add RegisteredCacheZach Hilman2018-08-121-0/+108
Manages NAND NCA get and install.