Zach Hilman
119ab308b5
key_manager: Create keys dir if it dosen't exist
On call to WriteKeyToFile, so that the autogenerated file can be written.
7 years ago
Zach Hilman
a7e8d10969
file_sys: Cut down on includes and copies
7 years ago
Zach Hilman
42dc856ce1
crypto: Eliminate magic constants
7 years ago
Zach Hilman
ab44192ab0
file_sys: Implement NAX containers
8 years ago
Zach Hilman
8b52d6682a
registration: Add GetEntryUnparsed methods
Returns the file before calling parser on it.
8 years ago
Zach Hilman
13524578b6
sdmc_factory: Add SDMC RegisteredCache getter
8 years ago
Zach Hilman
bf33f80fae
vfs: Add GetOrCreateDirectoryRelative method
8 years ago
Zach Hilman
c4845df3d4
xts_encryption_layer: Implement XTSEncryptionLayer
8 years ago
Zach Hilman
a9dc5a3c10
xci: Fix error masking issue
Prevents NCA-related errors from being masked into MissingProgramNCA or MissingKeyFile
8 years ago
Lioncash
29ac15d1b8
vfs: Replace mode.h include with forward declarations where applicable
Avoids the need to rebuild these source files if the mode header
changes.
7 years ago
Lioncash
bfb28c5b3f
sdmc_factory: Remove unnecessary core include
This doesn't require the central core header to be included, it just
needs the vfs headers.
7 years ago
tech4me
cc71832b19
qt/main: Port part of citra( #3411 ), open savedata works
7 years ago
Lioncash
477eee3993
service/filesystem: Use forward declarations where applicable
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
7 years ago
Lioncash
96463d0a55
romfs_factory: Remove unnecessary includes and use forward declarations 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.
7 years ago
Zach Hilman
e8cb6f5c9b
registration: Add Data_Unknown5 NCAContentType
7 years ago
Zach Hilman
27da7bc9da
filesystem: Add support for loading of system archives
7 years ago
Lioncash
b39cd70cd4
common: Namespace hex_util.h/.cpp
It's in the common code, so it should be under the Common namespace like
everything else.
8 years ago
Lioncash
87d8a9c986
loader: Make ResultStatus directly compatible with fmt
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.
8 years ago
Lioncash
b82b093108
vfs: Make VfsFilesystem constructor explicit
Makes it consistent with the other VFS interfaces and prevents implicit
construction.
8 years ago
Lioncash
cf0a7cd1c1
vfs: Make type hierarchy objects classes instead of structs
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.
8 years ago
Zach Hilman
35e4a47be0
registration: Various style and documentation improvements
Fix logic in RealVfsFilesystem Create methods
Remove magic numbers
Fix regex errors
8 years ago
Lioncash
75bba25009
vfs: Use sanitized paths within MoveFile() and MoveDirectory()
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.
8 years ago
Lioncash
7b6519741b
card_image: Use type aliases to shorten definitions
We have the aliases, so we may as well use 'em.
8 years ago
Lioncash
d6a1a43854
card_image: Simplify return statement of GetSubdirectories()
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.
8 years ago
David Marcec
98b940052c
made ResultStatus a u16
8 years ago
Zach Hilman
6b76b77400
registration: Add support for force overwrite of installed
8 years ago
Zach Hilman
8f06a0f898
vfs_real: Add CreateFullPath to Create* operations
8 years ago
Zach Hilman
dda8ef11c7
control_metadata: Remove unnecessary reference to base file
8 years ago
Zach Hilman
149bda980a
romfs: Remove cyclic shared_ptr leak in romfs code
8 years ago
Zach Hilman
893447b6b0
registration: Update documentation and style
8 years ago
Zach Hilman
22bdddd6f0
nca_metadata: Remove unnecessary reference to base file
8 years ago
Zach Hilman
62e859c6c7
bis_factory: Create NAND dirs if they don't exist
8 years ago
Zach Hilman
3b3c919e20
registration: Take RawCopy function as parameter
Instead of defaulting to VfsRawCopy
8 years ago
Zach Hilman
e5504a060d
registered_cache: Fix missing reading from yuzu_meta
8 years ago
Zach Hilman
167bfddafa
file_sys: Comply to style guidelines
8 years ago
Zach Hilman
bfb945c243
qt: Add 'Install to NAND' option to menu
Prompts for title type on NCA files.
8 years ago
Zach Hilman
a91983b11c
file_sys: Add RegisteredCache
Manages NAND NCA get and install.
8 years ago
Zach Hilman
9aab787122
file_sys: Add support for parsing NCA metadata (CNMT)
8 years ago
Zach Hilman
ab8acce645
card_image: Add accessor for all NCAs in XCI
8 years ago
Zach Hilman
9b0e3556ed
vfs_real: Add CreateFullPath to CreateFile
Fixes bugs with calling CreateFile when the immediate directory does not exist.
8 years ago
Zach Hilman
70a510bd8f
bis_factory: Add partial implementation of BISFactory
Creates and stores RegisteredCaches for user and system NAND, as creation of a RegisteredCache is expensive.
8 years ago
Zach Hilman
42114e1df4
vfs: Add ConcatenatedVfsFile
8 years ago
Zach Hilman
ec3bef7b4c
loader: Add more descriptive errors
Full list of new errors and descriptions in core/loader/loader.h
8 years ago
Zach Hilman
668458525e
vfs: Fix documentation
8 years ago
Zach Hilman
94cf327e77
vfs: Fix typo in VfsFilesystem docs
8 years ago
Zach Hilman
2b6128fe0b
file_util: Use enum instead of bool for specifing path behavior
8 years ago
Zach Hilman
656e97df16
vfs: Use RealVfsFilesystem for fs-operations in RealVfsDirectory
8 years ago
Zach Hilman
52a2e42cb9
file_sys: Add missing include in savedata_factory
8 years ago
Zach Hilman
aaa8fdea52
vfs: Add unreachable assert to file permissions converter
8 years ago
Zach Hilman
2de2ec25d6
vfs: Add RealVfsFilesystem implementation
8 years ago