Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2021-05-02 | file_sys: Resolve cases of variable shadowing | Lioncash | 1 | -14/+18 | |
Brings us closer to enabling -Wshadow as an error in the core code. | |||||
2021-01-05 | core: Silence warnings when compiling without asserts | ReinUsesLisp | 1 | -1/+2 | |
2020-08-23 | registered_cache: Make use of ends_with for string suffix checking | Lioncash | 1 | -2/+1 | |
Simplifies code. | |||||
2020-08-23 | registered_cache: Make use of designated initializers | Lioncash | 1 | -15/+15 | |
Removes the need for comments to indicate the fields being assigned. | |||||
2020-08-16 | common/fileutil: Convert namespace to Common::FS | Lioncash | 1 | -1/+1 | |
Migrates a remaining common file over to the Common namespace, making it consistent with the rest of common files. This also allows for high-traffic FS related code to alias the filesystem function namespace as namespace FS = Common::FS; for more concise typing. | |||||
2020-08-03 | registered_cache: Resolve -Wmaybe_uninitialized warnings | Lioncash | 1 | -10/+15 | |
While we're at it, we can avoid a redundant map lookup. | |||||
2020-07-29 | registered_cache: Add support for removing folder ncas | Morph | 1 | -50/+51 | |
2020-07-16 | Check for empty section0 and CNMT prior to install | Morph | 1 | -3/+19 | |
2020-07-15 | Use proper install result when overwriting files | Morph | 1 | -1/+1 | |
2020-07-15 | Remove global system instance and address feedback | Morph | 1 | -13/+9 | |
2020-07-15 | registered_cache: Remove previous update/dlc if it exists on install | Morph | 1 | -10/+76 | |
- 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-05-20 | crypto: Make KeyManager a singleton class | FearlessTobi | 1 | -3/+3 | |
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. | |||||
2020-04-16 | CMakeLists: Specify -Wextra on linux builds | Lioncash | 1 | -9/+14 | |
Allows reporting more cases where logic errors may exist, such as implicit fallthrough cases, etc. We currently ignore unused parameters, since we currently have many cases where this is intentional (virtual interfaces). While we're at it, we can also tidy up any existing code that causes warnings. This also uncovered a few bugs as well. | |||||
2019-11-12 | core: Migrate off deprecated mbedtls functions | Lioncash | 1 | -5/+5 | |
These functions are marked for deprecation and it's recommended that the *_ret variants be used instead. | |||||
2019-09-22 | configure_debug: Move reporting option to logging | Zach Hilman | 1 | -4/+4 | |
2019-09-21 | yuzu: Port old usages of Filesystem namespace to FilesystemController | Zach Hilman | 1 | -0/+1 | |
2019-09-21 | registered_cache: Process *.cnmt.nca files | Zach Hilman | 1 | -16/+23 | |
Needed to use the RegisteredCache/PlaceholderCache on gamecards. | |||||
2019-09-21 | registered_cache: Implement PlaceholderCache to manage placeholder and installing content | Zach Hilman | 1 | -0/+150 | |
2019-07-02 | file_sys: Rename other ContentRecordType members | Bakugo | 1 | -1/+1 | |
2019-07-01 | file_sys/registered_cache: Improve missing metadata error | Bakugo | 1 | -2/+2 | |
This can happen when installing NSPs too, not just XCIs. | |||||
2019-07-01 | file_sys/registered_cache: Ignore DeltaFragment NCAs during installation | Bakugo | 1 | -0/+3 | |
DeltaFragments are only used to download and apply partial patches on a real console, and are not useful to us at all. Most patch NSPs do not include them, and when they do, it's a waste of space to install them. | |||||
2019-06-26 | glue: Correct missing bytes in ApplicationLaunchParameter | Zach Hilman | 1 | -7/+7 | |
2019-06-25 | registered_cache: Add getter to determine source slot in content provider union | Zach Hilman | 1 | -0/+14 | |
Used to determine StorageId source for application data. | |||||
2019-06-12 | common/hex_util: Combine HexVectorToString() and HexArrayToString() | Lioncash | 1 | -6/+8 | |
These can be generified together by using a concept type to designate them. This also has the benefit of not making copies of potentially very large arrays. | |||||
2019-03-27 | file_sys: Create ContentProvider interface and default implementations | Zach Hilman | 1 | -100/+175 | |
2019-03-19 | file_sys/content_archive: Amend name of Data_Unknown5 enum entry | Lioncash | 1 | -1/+1 | |
While we're at it, give each entry some documentation. | |||||
2018-12-02 | file_sys/registered_cache: Eliminate variable shadowing | Lioncash | 1 | -27/+26 | |
Also inverts if statements where applicable to allow unindenting code a little bit. | |||||
2018-11-27 | file_sys/registered_cache: Use regular const references instead of std::shared_ptr for InstallEntry() | Lioncash | 1 | -22/+22 | |
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-02 | file_sys: Use common KeyManager in NCA container types | Zach Hilman | 1 | -5/+8 | |
Creates a single KeyManager for the entire container and then passes it into the NCA constructor, eliminating several unnecessary KeyManager reads. | |||||
2018-10-30 | global: Use std::optional instead of boost::optional (#1578) | Frederic L | 1 | -34/+28 | |
* 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-18 | qt: Add support for dumping a DLC Data RomFS | Zach Hilman | 1 | -0/+4 | |
2018-10-17 | registered_cache: Deduplicate results of ListEntry and ListEntryFilter | Zach Hilman | 1 | -0/+11 | |
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-16 | file_sys/registered_cache: Use unique_ptr and regular pointers instead of shared_ptrs where applicable | Lioncash | 1 | -7/+7 | |
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-26 | vfs_concat/vfs_layered: Remove friend declarations from ConcatenatedVfsFile | Lioncash | 1 | -1/+1 | |
Given these are only added to the class to allow those functions to access the private constructor, it's a better approach to just make them static functions in the interface, to make the dependency explicit. | |||||
2018-09-24 | fsmitm: Cleanup and modernize fsmitm port | Zach Hilman | 1 | -2/+7 | |
2018-09-22 | qt: Add UI elements for LayeredFS and related tools | Zach Hilman | 1 | -1/+1 | |
2018-09-15 | Port #4182 from Citra: "Prefix all size_t with std::" | fearlessTobi | 1 | -5/+5 | |
2018-09-04 | bktr: Fix missing includes and optimize style | Zach Hilman | 1 | -10/+11 | |
2018-09-04 | registration: Add RegisteredCacheUnion | Zach Hilman | 1 | -0/+114 | |
Aggregates multiple caches into one interface | |||||
2018-09-04 | main: Only show DRD deprecation warning once | Zach Hilman | 1 | -0/+1 | |
2018-09-04 | registration: Add support for installing NSP files | Zach Hilman | 1 | -8/+12 | |
2018-09-04 | file_sys: Replace includes with forward declarations where applicable | Lioncash | 1 | -0/+3 | |
Cuts down on include dependencies, resulting in less files that need to be rebuilt when certain things are changed. | |||||
2018-09-02 | vfs_real: Forward declare IOFile | Lioncash | 1 | -1/+1 | |
Eliminates the need to rebuild some source files if the file_util header ever changes. This also uncovered some indirect inclusions, which have also been fixed. | |||||
2018-08-27 | registered_cache: Get rid of variable shadowing in ProcessFiles() | Lioncash | 1 | -3/+3 | |
Prevents compiler warnings. | |||||
2018-08-23 | file_sys: Cut down on includes and copies | Zach Hilman | 1 | -0/+2 | |
2018-08-23 | registration: Add GetEntryUnparsed methods | Zach Hilman | 1 | -0/+12 | |
Returns the file before calling parser on it. | |||||
2018-08-20 | registration: Add Data_Unknown5 NCAContentType | Zach Hilman | 1 | -1/+1 | |
2018-08-19 | filesystem: Add support for loading of system archives | Zach Hilman | 1 | -1/+2 | |
2018-08-16 | common: Namespace hex_util.h/.cpp | Lioncash | 1 | -8/+10 | |
It's in the common code, so it should be under the Common namespace like everything else. | |||||
2018-08-12 | registration: Various style and documentation improvements | Zach Hilman | 1 | -5/+8 | |
Fix logic in RealVfsFilesystem Create methods Remove magic numbers Fix regex errors | |||||
2018-08-12 | registration: Add support for force overwrite of installed | Zach Hilman | 1 | -17/+33 | |
2018-08-12 | registration: Update documentation and style | Zach Hilman | 1 | -7/+16 | |
2018-08-12 | registration: Take RawCopy function as parameter | Zach Hilman | 1 | -7/+9 | |
Instead of defaulting to VfsRawCopy | |||||
2018-08-12 | registered_cache: Fix missing reading from yuzu_meta | Zach Hilman | 1 | -7/+16 | |
2018-08-12 | file_sys: Comply to style guidelines | Zach Hilman | 1 | -11/+13 | |
2018-08-12 | qt: Add 'Install to NAND' option to menu | Zach Hilman | 1 | -1/+1 | |
Prompts for title type on NCA files. | |||||
2018-08-12 | file_sys: Add RegisteredCache | Zach Hilman | 1 | -0/+435 | |
Manages NAND NCA get and install. |