summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/registered_cache.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-09-12qt: add verification for installed contentsLiam1-0/+5
2023-03-12general: fix spelling mistakesLiam1-1/+1
2022-04-23general: Convert source file copyright comments over to SPDXMorph1-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.
2021-05-16main: Prevent installing base titles into NANDMorph1-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.
2021-05-02file_sys: Resolve cases of variable shadowingLioncash1-1/+1
Brings us closer to enabling -Wshadow as an error in the core code.
2021-01-09file_sys/registered_cache: Silence virtual functions without override warningsReinUsesLisp1-4/+4
2020-08-13General: Tidy up clang-format warnings part 2Lioncash1-3/+3
2020-07-29registered_cache: Add support for removing folder ncasMorph1-3/+3
2020-07-15clang formatMorph1-3/+3
2020-07-15Remove global system instance and address feedbackMorph1-1/+1
2020-07-15registered_cache: Remove previous update/dlc if it exists on installMorph1-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
2020-07-01key_manager: Correct casing of instance()Lioncash1-1/+1
Our codebase uppercases member function names.
2020-05-20crypto: Make KeyManager a singleton classFearlessTobi1-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.
2019-09-21registered_cache: Implement PlaceholderCache to manage placeholder and installing contentZach Hilman1-0/+25
2019-06-25registered_cache: Add getter to determine source slot in content provider unionZach Hilman1-0/+3
Used to determine StorageId source for application data.
2019-03-27file_sys: Create ContentProvider interface and default implementationsZach Hilman1-52/+104
2018-11-27file_sys/registered_cache: Remove unused <map> includeLioncash1-1/+0
2018-11-27file_sys/registered_cache: Use regular const references instead of std::shared_ptr for InstallEntry()Lioncash1-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).
2018-11-02file_sys: Use common KeyManager in NCA container typesZach Hilman1-0/+3
Creates a single KeyManager for the entire container and then passes it into the NCA constructor, eliminating several unnecessary KeyManager reads.
2018-10-30global: Use std::optional instead of boost::optional (#1578)Frederic L1-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
2018-10-18qt: Add support for dumping a DLC Data RomFSZach Hilman1-0/+1
2018-10-17registered_cache: Deduplicate results of ListEntry and ListEntryFilterZach Hilman1-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)
2018-10-16file_sys/registered_cache: Use unique_ptr and regular pointers instead of shared_ptrs where applicableLioncash1-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.
2018-09-22qt: Add UI elements for LayeredFS and related toolsZach Hilman1-1/+1
2018-09-04bktr: Fix missing includes and optimize styleZach Hilman1-1/+1
2018-09-04registration: Add RegisteredCacheUnionZach Hilman1-0/+40
Aggregates multiple caches into one interface
2018-09-04main: Only show DRD deprecation warning onceZach Hilman1-0/+1
2018-09-04registration: Add support for installing NSP filesZach Hilman1-2/+4
2018-09-04file_sys: Replace includes with forward declarations where applicableLioncash1-4/+7
Cuts down on include dependencies, resulting in less files that need to be rebuilt when certain things are changed.
2018-08-23file_sys: Cut down on includes and copiesZach Hilman1-0/+1
2018-08-23registration: Add GetEntryUnparsed methodsZach Hilman1-0/+3
Returns the file before calling parser on it.
2018-08-12registration: Add support for force overwrite of installedZach Hilman1-5/+15
2018-08-12registration: Take RawCopy function as parameterZach Hilman1-3/+6
Instead of defaulting to VfsRawCopy
2018-08-12file_sys: Comply to style guidelinesZach Hilman1-5/+8
2018-08-12file_sys: Add RegisteredCacheZach Hilman1-0/+108
Manages NAND NCA get and install.