aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys
AgeCommit message (Collapse)Author
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
2018-08-11vfs_real: Add CreateFullPath to CreateFileZach Hilman
Fixes bugs with calling CreateFile when the immediate directory does not exist.
2018-08-11bis_factory: Add partial implementation of BISFactoryZach Hilman
Creates and stores RegisteredCaches for user and system NAND, as creation of a RegisteredCache is expensive.
2018-08-11vfs: Add ConcatenatedVfsFileZach Hilman
2018-08-09loader: Add more descriptive errorsZach Hilman
Full list of new errors and descriptions in core/loader/loader.h
2018-08-09Merge pull request #990 from lioncash/entrybunnei
fsp_srv: Emplace entries first when building index instead of emplacing last
2018-08-08vfs: Fix documentationZach Hilman
2018-08-08vfs: Fix typo in VfsFilesystem docsZach Hilman
2018-08-08file_util: Use enum instead of bool for specifing path behaviorZach Hilman
2018-08-08vfs: Use RealVfsFilesystem for fs-operations in RealVfsDirectoryZach Hilman
2018-08-08file_sys: Add missing include in savedata_factoryZach Hilman
2018-08-08vfs: Add unreachable assert to file permissions converterZach Hilman
2018-08-08vfs: Add RealVfsFilesystem implementationZach Hilman
2018-08-08vfs: Add VfsFilesystem interface and default implementationZach Hilman
2018-08-08fsp_srv: Use std::string_view's copy() function instead of strncpy()Lioncash
Given elements inserted into a vector are zeroed out, we can just copy MAX_LEN - 1 elements and the data will already be properly null terminated.
2018-08-08Merge pull request #850 from DarkLordZach/icon-metabunnei
Add Icons and Metadata Support
2018-08-06loader: Add icon and title support to XCIZach Hilman