Commit Graph

24 Commits (05ef9dfc10c3a52d1dfab50bb7b2a07891a2c3e9)

Author SHA1 Message Date
Lioncash 05ef9dfc10 file-sys: Default heavy-weight class destructors in the cpp file
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.
7 years ago
fearlessTobi 63c2e32e20 Port #4182 from Citra: "Prefix all size_t with std::" 7 years ago
Zach Hilman c913136eb2 bktr: Fix bucket overlap error 7 years ago
Zach Hilman 92e26df00f nsp: Fix error masking issue with XCI files
Now display correct error instead of catch-all MissingProgramNCA
7 years ago
Zach Hilman a6e75cd45b bktr: Implement IVFC offset shifting
Fixes base game read errors
7 years ago
Zach Hilman 1efe5a76b1 content_archive: Add BKTR header parsing to NCA 7 years ago
Lioncash a813c10e1c file_sys: Replace includes with forward declarations where applicable
Cuts down on include dependencies, resulting in less files that need to
be rebuilt when certain things are changed.
7 years ago
Zach Hilman 4f18c17df7 content_archive: Add update title detection
This is needed because the title IDs of update NCAs will not use the update title ID. The only sure way to tell is to look for a partition with BKTR crypto.
7 years ago
Zach Hilman c4845df3d4 xts_encryption_layer: Implement XTSEncryptionLayer 7 years ago
Zach Hilman ec3bef7b4c loader: Add more descriptive errors
Full list of new errors and descriptions in core/loader/loader.h
7 years ago
bunnei fd9da4232b
Merge pull request #850 from DarkLordZach/icon-meta
Add Icons and Metadata Support
7 years ago
Zach Hilman 91cfe70301 loader: Add icon and title support to XCI 7 years ago
Zach Hilman 2cc962e171 content_archive: Add support for titlekey cryptography 7 years ago
Zach Hilman 13cdf1f159 Add missing parameter to files.push_back() 7 years ago
Zach Hilman 187d8e215f Use more descriptive error codes and messages 7 years ago
Zach Hilman a9c921a41d Use ErrorEncrypted where applicable and fix no keys crash 7 years ago
Zach Hilman 03149d3e4a Add missing includes and use const where applicable 7 years ago
Zach Hilman 239a3113e4 Make XCI comply to review and style guidelines 7 years ago
Zach Hilman df5b75694f Remove files that are not used 7 years ago
Zach Hilman 906d785c73 RomFS Extraction 7 years ago
Lioncash 0b566f43a1 content_archive: std::move VirtualFile in NCA's constructor
Gets rid of unnecessary atomic reference count incrementing and
decrementing.
7 years ago
Zach Hilman 29aff8d5ab Virtual Filesystem 2: Electric Boogaloo (#676)
* Virtual Filesystem

* Fix delete bug and documentate

* Review fixes + other stuff

* Fix puyo regression
7 years ago
bunnei 913896cbd9 Revert "Virtual Filesystem (#597)"
This reverts commit 77c684c114.
7 years ago
Zach Hilman 77c684c114 Virtual Filesystem (#597)
* Add VfsFile and VfsDirectory classes

* Finish abstract Vfs classes

* Implement RealVfsFile (computer fs backend)

* Finish RealVfsFile and RealVfsDirectory

* Finished OffsetVfsFile

* More changes

* Fix import paths

* Major refactor

* Remove double const

* Use experimental/filesystem or filesystem depending on compiler

* Port partition_filesystem

* More changes

* More Overhaul

* FSP_SRV fixes

* Fixes and testing

* Try to get filesystem to compile

* Filesystem on linux

* Remove std::filesystem and document/test

* Compile fixes

* Missing include

* Bug fixes

* Fixes

* Rename v_file and v_dir

* clang-format fix

* Rename NGLOG_* to LOG_*

* Most review changes

* Fix TODO

* Guess 'main' to be Directory by filename
7 years ago