summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/xts_archive.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-12-10vfs: Use existing type aliases consistentlyLioncash1-3/+3
Makes use of the VirtualDir and VirtualFile aliases across the board instead of having a few isolated places that don't use it.
2020-08-23file_sys: Replace inclusions with forward declarations where applicableLioncash1-3/+7
Same behavior, minus unnecessary inclusions where not necessary.
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.
2018-10-19vfs: Remove InterpretAsDirectory and related functionsZach Hilman1-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.
2018-09-20file-sys: Default heavy-weight class destructors in the cpp fileLioncash1-0/+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.
2018-09-19xts_archive: Make AsNCA() return a std::unique_ptr instead of a std::shared_ptrLioncash1-1/+1
std::shared_ptr isn't strictly necessary here and is only ever used in contexts where the object doesn't depend on being shared. This also makes the interface more flexible, as it's possible to create a std::shared_ptr from a std::unique_ptr (std::shared_ptr has a constructor that accepts a std::unique_ptr), but not the other way around.
2018-09-19xts_archive: Ensure NAX's type member is always initializedLioncash1-1/+1
Ensures that the member always has a deterministic value.
2018-08-25file_sys/crypto: Fix missing/unnecessary includesZach Hilman1-0/+1
2018-08-23crypto: Eliminate magic constantsZach Hilman1-5/+5
2018-08-23file_sys: Implement NAX containersZach Hilman1-0/+68