summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/xts_archive.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1364 from lioncash/contentbunnei2018-09-211-0/+2
|\ | | | | file-sys: Default heavy-weight class destructors in the cpp file
| * file-sys: Default heavy-weight class destructors in the cpp fileLioncash2018-09-201-0/+2
| | | | | | | | | | | | | | | | | | | | 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.
* | xts_archive: Remove unused variables from CalculateHMAC256()Lioncash2018-09-191-3/+0
| | | | | | | | | | | | These variables aren't used, which still has an impact, as std::vector cannot be optimized away by the compiler (it's constructor and destructor are both non-trivial), so this was just wasting memory.
* | xts_archive: Make AsNCA() return a std::unique_ptr instead of a std::shared_ptrLioncash2018-09-191-2/+2
| | | | | | | | | | | | | | | | | | 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.
* | xts_archive: Amend initializer order of NAX's constructorLioncash2018-09-191-2/+2
|/ | | | | Orders the initializer list in the same order the members would be initialized. Avoids compiler warnings.
* Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi2018-09-151-4/+4
|
* vfs_real: Forward declare IOFileLioncash2018-09-021-0/+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.
* file_sys/crypto: Fix missing/unnecessary includesZach Hilman2018-08-251-0/+2
|
* crypto: Eliminate magic constantsZach Hilman2018-08-231-11/+14
|
* file_sys: Implement NAX containersZach Hilman2018-08-231-0/+164