aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys
AgeCommit message (Collapse)Author
2018-08-31core/core: Replace includes with forward declarations where applicableLioncash
The follow-up to e2457418dae19b889b2ad85255bb95d4cd0e4bff, which replaces most of the includes in the core header with forward declarations. This makes it so that if any of the headers the core header was previously including change, then no one will need to rebuild the bulk of the core, due to core.h being quite a prevalent inclusion. This should make turnaround for changes much faster for developers.
2018-08-27Merge pull request #1188 from lioncash/unusedbunnei
vfs_real: Remove unused variable in CreateDirectoryRelative()
2018-08-27vfs_real: Remove unused variable in CreateDirectoryRelative()Lioncash
2018-08-27registered_cache: Get rid of variable shadowing in ProcessFiles()Lioncash
Prevents compiler warnings.
2018-08-24file_sys/crypto: Fix missing/unnecessary includesZach Hilman
2018-08-23xci: Ignore NCA files with updates in secureZach Hilman
2018-08-23content_archive: Add update title detectionZach Hilman
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.
2018-08-23key_manager: Create keys dir if it dosen't existZach Hilman
On call to WriteKeyToFile, so that the autogenerated file can be written.
2018-08-23file_sys: Cut down on includes and copiesZach Hilman
2018-08-23crypto: Eliminate magic constantsZach Hilman
2018-08-23file_sys: Implement NAX containersZach Hilman
2018-08-23registration: Add GetEntryUnparsed methodsZach Hilman
Returns the file before calling parser on it.
2018-08-23sdmc_factory: Add SDMC RegisteredCache getterZach Hilman
2018-08-23vfs: Add GetOrCreateDirectoryRelative methodZach Hilman
2018-08-23xts_encryption_layer: Implement XTSEncryptionLayerZach Hilman
2018-08-23xci: Fix error masking issueZach Hilman
Prevents NCA-related errors from being masked into MissingProgramNCA or MissingKeyFile
2018-08-22Merge pull request #1136 from tech4me/masterbunnei
qt/main: Port part of citra(#3411), open savedata works
2018-08-21vfs: Replace mode.h include with forward declarations where applicableLioncash
Avoids the need to rebuild these source files if the mode header changes.
2018-08-21sdmc_factory: Remove unnecessary core includeLioncash
This doesn't require the central core header to be included, it just needs the vfs headers.
2018-08-21qt/main: Port part of citra(#3411), open savedata workstech4me
2018-08-20service/filesystem: Use forward declarations where applicableLioncash
Avoids the need to rebuild multiple source files if the filesystem code headers change. This also gets rid of a few instances of indirect inclusions being relied upon
2018-08-20romfs_factory: Remove unnecessary includes and use forward declarations ↵Lioncash
where applicable Avoids the need to rebuild whatever includes the romfs factory header if the loader header ever changes. We also don't need to include the main core header. We can instead include the headers we specifically need.
2018-08-20registration: Add Data_Unknown5 NCAContentTypeZach Hilman
2018-08-18filesystem: Add support for loading of system archivesZach Hilman
2018-08-15common: Namespace hex_util.h/.cppLioncash
It's in the common code, so it should be under the Common namespace like everything else.
2018-08-15Merge pull request #1005 from DarkLordZach/registered-fmtbunnei
file_sys: Add support for registration format
2018-08-15loader: Make ResultStatus directly compatible with fmtLioncash
We can make the enum class type compatible with fmt by providing an overload of operator<<. While we're at it, perform proper bounds checking. If something exceeds the array, it should be a hard fail, because it's, without a doubt, a programmer error in this case.
2018-08-13Merge pull request #1032 from lioncash/sanitizebunnei
vfs: Use sanitized paths within MoveFile() and MoveDirectory()
2018-08-13Merge pull request #1031 from lioncash/verbositybunnei
card_image: Simplify return statement of GetSubdirectories()
2018-08-12vfs: Make VfsFilesystem constructor explicitLioncash
Makes it consistent with the other VFS interfaces and prevents implicit construction.
2018-08-12vfs: Make type hierarchy objects classes instead of structsLioncash
struct should be used when the data type is very simple or otherwise has no invariants associated with it. Given these are used to form a hierarchy, class should be used instead.
2018-08-12registration: Various style and documentation improvementsZach Hilman
Fix logic in RealVfsFilesystem Create methods Remove magic numbers Fix regex errors
2018-08-12vfs: Use sanitized paths within MoveFile() and MoveDirectory()Lioncash
Previously these were being unused (or partially unused). While we're at it, use better naming to make it visibly obvious which variant of the path is being used.
2018-08-12card_image: Use type aliases to shorten definitionsLioncash
We have the aliases, so we may as well use 'em.
2018-08-12card_image: Simplify return statement of GetSubdirectories()Lioncash
We don't need to write out the construction long-form, we can just let the language itself work it out off the return type.
2018-08-12made ResultStatus a u16David Marcec
2018-08-11registration: Add support for force overwrite of installedZach Hilman
2018-08-11vfs_real: Add CreateFullPath to Create* operationsZach Hilman
2018-08-11control_metadata: Remove unnecessary reference to base fileZach Hilman
2018-08-11romfs: Remove cyclic shared_ptr leak in romfs codeZach Hilman
2018-08-11registration: Update documentation and styleZach Hilman
2018-08-11nca_metadata: Remove unnecessary reference to base fileZach Hilman
2018-08-11bis_factory: Create NAND dirs if they don't existZach Hilman
2018-08-11registration: Take RawCopy function as parameterZach Hilman
Instead of defaulting to VfsRawCopy
2018-08-11registered_cache: Fix missing reading from yuzu_metaZach Hilman
2018-08-11file_sys: Comply to style guidelinesZach Hilman
2018-08-11qt: Add 'Install to NAND' option to menuZach Hilman
Prompts for title type on NCA files.
2018-08-11file_sys: Add RegisteredCacheZach Hilman
Manages NAND NCA get and install.
2018-08-11file_sys: Add support for parsing NCA metadata (CNMT)Zach Hilman
2018-08-11card_image: Add accessor for all NCAs in XCIZach Hilman