summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys (unfollow)
Commit message (Expand)AuthorFilesLines
2019-01-18file_sys/directory: Remove unused DirectoryBackend classLioncash1-23/+0
2019-01-15content_archive: Add getter for logo section of NCAZach Hilman2-0/+16
2018-12-28romfs: Add SingleDiscard extraction typeZach Hilman2-2/+6
2018-12-28file_sys/program_metadata: Print out more descriptive address space descriptionsLioncash1-3/+7
2018-12-27am: Implement GetSaveDataSize and ExtendSaveDataZach Hilman3-3/+3
2018-12-27savedata_factory: Partially implement IVFC save sizes using filesZach Hilman2-0/+38
2018-12-27control_metadata: Update NACP fields with latest Switchbrew dataZach Hilman2-6/+29
2018-12-27control_metadata: Use value member instead of unique_ptr to store structZach Hilman2-10/+13
2018-12-27vfs: Add reinterpret_casts to WriteArray and ObjectZach Hilman1-2/+2
2018-12-21kernel/process: Hook up the process capability parser to the process itselfLioncash2-0/+17
2018-12-19Fixed uninitialized memory due to missing returns in canaryDavid Marcec1-0/+1
2018-12-11patch_manager: Prevent use of a dangling pointer within PatchRomFSLioncash1-4/+3
2018-12-08file_sys/save_data_factory: Update SaveDataSpaceId enumLioncash1-1/+3
2018-12-07savedata_factory: Add support for CacheStorageZach Hilman1-0/+2
2018-12-07savedata_factory: Delete TemporaryStorage on startupZach Hilman1-1/+5
2018-12-06system_archive: Implement open source NgWord2Zach Hilman3-1/+41
2018-12-05ng_word: Deduplicate use of a constant valueLioncash1-1/+1
2018-12-05system_archive: Use a regular function pointer instead of std::function for file-scope system archive arrayLioncash1-3/+2
2018-12-03patch_manager: Obey disabled add-ons list when patching gameZach Hilman2-11/+50
2018-12-03file_sys/directory: Amend path buffer size for directory entriesLioncash1-2/+2
2018-12-02file_sys/registered_cache: Eliminate variable shadowingLioncash1-27/+26
2018-12-02filesystem: De-globalize registered_cache_unionLioncash2-11/+10
2018-12-01file_sys: Override missing mutating functions to be stubbed out for ReadOnlyVfsDirectory by defaultLioncash2-0/+25
2018-12-01service/fsp_srv: Implement CleanDirectoryRecursivelyLioncash2-4/+37
2018-11-27file_sys/registered_cache: Remove unused <map> includeLioncash1-1/+0
2018-11-27file_sys/registered_cache: Use regular const references instead of std::shared_ptr for InstallEntry()Lioncash2-27/+26
2018-11-27control_metadata: Correct typo in language name (Portugese -> Portuguese)Lioncash1-7/+17
2018-11-23file_sys: Implement system archive synthesizer for NgWord (806)Zach Hilman5-6/+61
2018-11-21patch_manager: Show LayeredExeFS patch in add-ons columnZach Hilman1-3/+14
2018-11-21file_sys/card_image: Provide named members for the GamecardInfo structLioncash1-1/+12
2018-11-20patch_manager: Apply LayeredExeFS patchesZach Hilman1-0/+25
2018-11-20settings: Add option to dump ExeFS of games upon launchZach Hilman1-0/+9
2018-11-16file_sys/errors: Remove currently unused filesystem error codesLioncash1-10/+0
2018-11-16file_sys/errors: Get rid of the ErrCodes namespaceLioncash1-17/+5
2018-11-16file_sys/errors: Extract FS-related error codes to file_sys/errors.hLioncash1-1/+8
2018-11-16file_sys: Add framework for synthesizing open source archivesZach Hilman2-0/+105
2018-11-16vfs_vector: Add VFS backend for std::arrayZach Hilman1-0/+52
2018-11-02file_sys: Use common KeyManager in NCA container typesZach Hilman6-7/+18
2018-11-02content_archive: Add optional KeyManager parameter to constructorZach Hilman2-3/+5
2018-10-30general: Remove unused boost inclusions where applicableLioncash1-1/+0
2018-10-30global: Use std::optional instead of boost::optional (#1578)Frederic L11-84/+76
2018-10-29ns: Implement command 400: GetApplicationControlDataZach Hilman2-2/+2
2018-10-29patch_manager: Add support for dumping decompressed NSOsZach Hilman1-0/+13
2018-10-29bis_factory: Add getter for mod dump root for a title IDZach Hilman2-2/+11
2018-10-29savedata_factory: Expose accessors for SaveDataSpaceZach Hilman2-14/+21
2018-10-29control_metadata: Add GetRawBytes function to NACPZach Hilman2-0/+7
2018-10-28file_sys/patch_manager: Remove unnecessary if-statements (#1586)Frederic L1-7/+6
2018-10-25ips_layer: Use rle_size instead of data_size in RLE patch applicationZach Hilman1-1/+1
2018-10-24vfs: Handle failure of file reading within VfsRawCopy()Lioncash1-2/+6
2018-10-19vfs: Remove InterpretAsDirectory and related functionsZach Hilman17-95/+1
2018-10-18qt: Add support for dumping a DLC Data RomFSZach Hilman2-0/+5
2018-10-17registered_cache: Deduplicate results of ListEntry and ListEntryFilterZach Hilman2-2/+16
2018-10-17patch_manager: Add support for using LayeredFS with DataZach Hilman1-2/+3
2018-10-16content_archive: Simpify assignment of bktr_base_romfs in the constructorLioncash1-2/+1
2018-10-16content_archive: Make IsValidNCA() an internally linked functionLioncash2-3/+1
2018-10-16content_archive: Simplify rights ID checkLioncash1-2/+2
2018-10-16content_archive: Split loading into separate functionsLioncash2-253/+290
2018-10-16content_archive: Pass and take NCASectionHeader instance by referenceLioncash2-3/+3
2018-10-16XCI: Add function for checking the existence of the program NCALioncash2-5/+7
2018-10-16savedata_factory: Add TemporaryStorage SaveDataSpaceIdZach Hilman1-1/+4
2018-10-16savedata_factory: Add support for DeviceSaveDataZach Hilman1-0/+8
2018-10-16file_sys/registered_cache: Use unique_ptr and regular pointers instead of shared_ptrs where applicableLioncash7-30/+30
2018-10-16file_sys/control_metadata: Get rid of magic constantsLioncash1-3/+6
2018-10-15aoc: Read DLC base title ID from RegisteredCacheZach Hilman2-0/+5
2018-10-13patch_manager: Move non-Program RomFS patch log to DebugZach Hilman1-2/+8
2018-10-13content_archive: Move get key log to Trace levelZach Hilman1-1/+1
2018-10-09patch_manager: Return a std::unique_ptr from ParseControlNCA() and GetControlMetadata() instead of a std::shared_ptrLioncash2-11/+9
2018-10-09ips_layer: Avoid constructing std::vector instances where not necessaryLioncash1-6/+25
2018-10-09ips_layer: Remove unnecessary explicit std::pair constructor in std::arrayLioncash1-5/+13
2018-10-09ips_layer: Add missing includesLioncash2-7/+17
2018-10-09ips_layer: std::move data within PatchIPS() and Apply()Lioncash1-2/+5
2018-10-09ips_layer: Silence truncation and conversion warningsLioncash1-3/+3
2018-10-07vfs: Move forward declarations to separate fileZach Hilman2-9/+22
2018-10-05romfs_factory: Extract packed update setter to new functionZach Hilman5-6/+15
2018-10-05patch_manager: Add support for NSP packed updatesZach Hilman1-2/+2
2018-10-05patch_manager: Add support for packed updatesZach Hilman4-5/+18
2018-10-04patch_manager: Avoid romfs_ext requirement for patchingZach Hilman1-4/+1
2018-10-04fsmitm_romfsbuild: Extract stubs and IPS to romfs_ext dirZach Hilman5-21/+38
2018-10-04fsmitm_romfsbuild: Add support for stubbing and IPS patches in LFSZach Hilman1-0/+14
2018-10-04ips_layer: Fix inaccuracies with comments and flagsZach Hilman3-16/+51
2018-10-04ips_layer: Deduplicate resource usageZach Hilman3-31/+37
2018-10-04ips_layer: Add support for escape sequences and midline commentsZach Hilman3-8/+41
2018-10-04patch_manager: Add support for IPSwitch format patchesZach Hilman1-22/+56
2018-10-04ips_layer: Add IPSwitchCompiler to process IPSwitch formatZach Hilman2-0/+168
2018-10-03submission_package: Avoid dangling std::string_view within SetTicketKeys()Lioncash1-2/+5
2018-10-03submission_package: Correct location of null check within SetTicketKeys()Lioncash1-3/+6
2018-10-03submission_package: Use std::string's rfind() when looking for the extension in InitializeExeFSAndRomFS()Lioncash1-1/+1
2018-10-03submission_package: Ensure the 'extracted' member variable is always initializedLioncash2-3/+1
2018-10-03submission_package: Move ExeFS and RomFS initialization to its own functionLioncash2-10/+18
2018-10-03submission_package: Move NCA reading code to its own functionLioncash2-43/+48
2018-10-03submission_package: Move ticket key setting to its own functionLioncash1-21/+28
2018-10-03submission_package: Invert conditionals within NSP's constructor to reduce nestingLioncash1-45/+49
2018-10-03card_image: Ensure program_nca_status is always initializedLioncash1-1/+3
2018-10-02nso: Optimize loading of IPS patchesZach Hilman2-45/+38
2018-10-01patch_manager: Add PatchNSO functionZach Hilman2-0/+102
2018-10-01patch_manager: Use strings for patch type instead of enumZach Hilman2-29/+33
2018-10-01file_sys: Implement function to apply IPS patchesZach Hilman2-0/+103
2018-10-01aoc_u: Extract AccumulateAOCTitleIDs to separate functionZach Hilman1-1/+2
2018-10-01aoc_u: Implement GetAddOnContentBaseIdZach Hilman1-2/+3
2018-10-01romfs_factory: Read from all locations with StorageId NoneZach Hilman1-26/+25
2018-10-01patch_manager: Add DLC recognition to PatchManagerZach Hilman2-0/+27
2018-09-30kernel/process: Make data member variables privateLioncash2-2/+2
2018-09-26fsmitm_romfsbuild: std::move std::vector instances in Build()Lioncash1-2/+2
2018-09-26fsmitm_romfsbuild: Replace manual value aligning with Common::AlignUp()Lioncash1-12/+11
2018-09-26patch_manager: Invert conditionals within ApplyLayeredFS()Lioncash1-27/+30
2018-09-26vfs_vector: Amend initializer list order in VectorVfsFile's constructor initializer listLioncash1-1/+1
2018-09-26fsmitm_romfsbuild: Avoid type truncation warningsLioncash1-7/+10
2018-09-26fsmitm_romfsbuild: Remove unnecessary constructors and initializers for RomFSBuildFileContext and RomFSBuildDirectoryContextLioncash1-5/+3
2018-09-26fsmitm_romfsbuild: Remove unnecessary loops in Build()Lioncash1-6/+0
2018-09-26fsmitm_romfsbuild: Make auto variable into a std::size_t variable within Build()Lioncash1-1/+1
2018-09-26vfs/etc: Append std:: to size_t usagesLioncash6-22/+23
2018-09-26vfs_concat/vfs_layered: Remove friend declarations from ConcatenatedVfsFileLioncash7-60/+58
2018-09-25vfs_static: Remove template byte parameter from StaticVfsFileLioncash4-42/+42
2018-09-24process/vm_manager: Amend API to allow reading parameters from NPDM metadataLioncash2-3/+7
2018-09-24fsmitm: Cleanup and modernize fsmitm portZach Hilman20-376/+376
2018-09-22qt: Add UI elements for LayeredFS and related toolsZach Hilman2-2/+2
2018-09-22romfs: Implement CreateRomFSZach Hilman2-4/+25
2018-09-22file_sys: Port Atmosphere-NX fs_mitm implementationZach Hilman2-0/+474
2018-09-22bis_factory: Add mod directory VFS getterZach Hilman2-3/+14
2018-09-22patch_manager: Add LayeredFS mods supportZach Hilman2-1/+44
2018-09-22vfs_concat: Rewrite and fix ConcatenatedVfsFileZach Hilman2-14/+59
2018-09-22vfs_layered: Add LayeredVfsDirectoryZach Hilman2-0/+178
2018-09-22vfs_vector: Add VectorVfsFileZach Hilman2-0/+75
2018-09-22vfs_static: Add StaticVfsFileZach Hilman1-0/+77
2018-09-22vfs: Add and rewite VfsRawCopy functionsZach Hilman2-6/+36
2018-09-22vfs: Add GetEntries methodZach Hilman4-0/+32
2018-09-20file-sys: Default heavy-weight class destructors in the cpp fileLioncash25-1/+45
2018-09-20control_metadata: Remove unnecessary else within GetLanguageEntry()Lioncash1-8/+8
2018-09-20control_metadata: Move language name array definition to the cpp fileLioncash2-6/+9
2018-09-19xts_archive: Remove unused variables from CalculateHMAC256()Lioncash1-3/+0
2018-09-19xts_archive: Make AsNCA() return a std::unique_ptr instead of a std::shared_ptrLioncash2-3/+3
2018-09-19xts_archive: Ensure NAX's type member is always initializedLioncash1-1/+1
2018-09-19xts_archive: Amend initializer order of NAX's constructorLioncash1-2/+2
2018-09-19savedata_factory: Add TemporaryStorage SaveDataTypeZach Hilman1-4/+7
2018-09-15Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi21-128/+130
2018-09-06file_sys/nca_patch: Amend constructor initializer list orderLioncash1-2/+2
2018-09-06file_sys/nca_patch: Remove unnecessary includesLioncash2-2/+9
2018-09-06file_sys/patch_manager: Add missing includesLioncash2-0/+5
2018-09-05file_sys/submission_package: Correct constructor initialization list orderLioncash1-2/+2
2018-09-05file_sys/submission_package: Replace includes with forward declarations where applicableLioncash2-6/+15
2018-09-04bktr: Fix bucket overlap errorZach Hilman5-6/+6
2018-09-04patch_manager: Centralize Control-type NCA parsingZach Hilman2-22/+66
2018-09-04nsp: Fix error masking issue with XCI filesZach Hilman3-6/+13
2018-09-04game_list: Fix version display on non-NAND titlesZach Hilman2-7/+23
2018-09-04bktr: Add logging on successful patchZach Hilman3-7/+24
2018-09-04bktr: Implement IVFC offset shiftingZach Hilman5-8/+20
2018-09-04bktr: Fix missing includes and optimize styleZach Hilman6-96/+102
2018-09-04patch_manager: Add usages of patches to ExeFSZach Hilman2-1/+11
2018-09-04file_sys: Add class to manage game patchesZach Hilman2-0/+132
2018-09-04file_sys: Add BKTR patching mechanismZach Hilman2-0/+352
2018-09-04content_archive: Add BKTR header parsing to NCAZach Hilman2-19/+160
2018-09-04registration: Add RegisteredCacheUnionZach Hilman2-0/+154
2018-09-04main: Only show DRD deprecation warning onceZach Hilman5-2/+5
2018-09-04control_metadata: Use alternate language names if AmericanEnglish isn't availableZach Hilman2-4/+17
2018-09-04card_image: Add program title ID getterZach Hilman2-0/+6
2018-09-04nsp: Comply with style and performance guidelinesZach Hilman4-25/+37
2018-09-04registration: Add support for installing NSP filesZach Hilman2-10/+16
2018-09-04card_image: Parse XCI secure partition with NSPZach Hilman2-7/+33
2018-09-04file_sys: Add Nintendo Submission Package (NSP)Zach Hilman2-0/+296
2018-09-04file_sys: Replace includes with forward declarations where applicableLioncash17-21/+51
2018-09-02vfs_real: Forward declare IOFileLioncash4-7/+22
2018-08-31core/core: Replace includes with forward declarations where applicableLioncash2-0/+2
2018-08-27vfs_real: Remove unused variable in CreateDirectoryRelative()Lioncash1-1/+0
2018-08-27registered_cache: Get rid of variable shadowing in ProcessFiles()Lioncash1-3/+3
2018-08-25file_sys/crypto: Fix missing/unnecessary includesZach Hilman4-0/+6
2018-08-24xci: Ignore NCA files with updates in secureZach Hilman1-0/+3
2018-08-24content_archive: Add update title detectionZach Hilman2-0/+11
2018-08-23key_manager: Create keys dir if it dosen't existZach Hilman1-0/+1
2018-08-23file_sys: Cut down on includes and copiesZach Hilman3-0/+6
2018-08-23crypto: Eliminate magic constantsZach Hilman2-16/+19
2018-08-23file_sys: Implement NAX containersZach Hilman2-0/+232
2018-08-23registration: Add GetEntryUnparsed methodsZach Hilman2-0/+15
2018-08-23sdmc_factory: Add SDMC RegisteredCache getterZach Hilman2-1/+14
2018-08-23vfs: Add GetOrCreateDirectoryRelative methodZach Hilman3-9/+13
2018-08-23xts_encryption_layer: Implement XTSEncryptionLayerZach Hilman1-1/+1
2018-08-23xci: Fix error masking issueZach Hilman2-0/+11
2018-08-21vfs: Replace mode.h include with forward declarations where applicableLioncash2-2/+4
2018-08-21sdmc_factory: Remove unnecessary core includeLioncash2-1/+1
2018-08-21qt/main: Port part of citra(#3411), open savedata workstech4me2-4/+4
2018-08-21service/filesystem: Use forward declarations where applicableLioncash1-0/+1
2018-08-21romfs_factory: Remove unnecessary includes and use forward declarations where applicableLioncash3-3/+12
2018-08-20registration: Add Data_Unknown5 NCAContentTypeZach Hilman3-2/+3
2018-08-19filesystem: Add support for loading of system archivesZach Hilman3-4/+49
2018-08-16common: Namespace hex_util.h/.cppLioncash1-8/+10
2018-08-15loader: Make ResultStatus directly compatible with fmtLioncash1-2/+5
2018-08-12vfs: Make VfsFilesystem constructor explicitLioncash1-1/+1
2018-08-12vfs: Make type hierarchy objects classes instead of structsLioncash3-9/+15
2018-08-12registration: Various style and documentation improvementsZach Hilman3-18/+22
2018-08-12vfs: Use sanitized paths within MoveFile() and MoveDirectory()Lioncash1-10/+10
2018-08-12card_image: Use type aliases to shorten definitionsLioncash2-6/+6
2018-08-12card_image: Simplify return statement of GetSubdirectories()Lioncash1-1/+1
2018-08-12made ResultStatus a u16David Marcec2-2/+2
2018-08-12registration: Add support for force overwrite of installedZach Hilman2-22/+48
2018-08-12vfs_real: Add CreateFullPath to Create* operationsZach Hilman2-13/+6
2018-08-12control_metadata: Remove unnecessary reference to base fileZach Hilman2-2/+1
2018-08-12romfs: Remove cyclic shared_ptr leak in romfs codeZach Hilman3-8/+8
2018-08-12registration: Update documentation and styleZach Hilman5-42/+69
2018-08-12nca_metadata: Remove unnecessary reference to base fileZach Hilman2-3/+2
2018-08-12bis_factory: Create NAND dirs if they don't existZach Hilman1-2/+9
2018-08-12registration: Take RawCopy function as parameterZach Hilman2-10/+15
2018-08-12registered_cache: Fix missing reading from yuzu_metaZach Hilman1-7/+16
2018-08-12file_sys: Comply to style guidelinesZach Hilman6-27/+38
2018-08-12qt: Add 'Install to NAND' option to menuZach Hilman1-1/+1
2018-08-12file_sys: Add RegisteredCacheZach Hilman2-0/+543
2018-08-12file_sys: Add support for parsing NCA metadata (CNMT)Zach Hilman2-0/+230
2018-08-12card_image: Add accessor for all NCAs in XCIZach Hilman2-0/+5
2018-08-12vfs_real: Add CreateFullPath to CreateFileZach Hilman1-3/+6
2018-08-12bis_factory: Add partial implementation of BISFactoryZach Hilman2-0/+54
2018-08-12vfs: Add ConcatenatedVfsFileZach Hilman2-0/+134
2018-08-10loader: Add more descriptive errorsZach Hilman5-35/+95
2018-08-09vfs: Fix documentationZach Hilman1-2/+2
2018-08-09vfs: Fix typo in VfsFilesystem docsZach Hilman1-1/+1
2018-08-09file_util: Use enum instead of bool for specifing path behaviorZach Hilman1-17/+27
2018-08-09vfs: Use RealVfsFilesystem for fs-operations in RealVfsDirectoryZach Hilman1-2/+10
2018-08-09file_sys: Add missing include in savedata_factoryZach Hilman1-0/+1
2018-08-09vfs: Add unreachable assert to file permissions converterZach Hilman1-1/+3
2018-08-09vfs: Add RealVfsFilesystem implementationZach Hilman2-81/+290
2018-08-09vfs: Add VfsFilesystem interface and default implementationZach Hilman2-3/+211
2018-08-09fsp_srv: Use std::string_view's copy() function instead of strncpy()Lioncash1-3/+9
2018-08-07loader: Add icon and title support to XCIZach Hilman3-0/+6
2018-08-07Use const where applicableZach Hilman1-1/+1
2018-08-07Avoid parsing RomFS to directory in NCAZach Hilman1-0/+7
2018-08-04content_archive: Add support for titlekey cryptographyZach Hilman2-7/+39
2018-08-02vfs_vector: Remove unused variable in FindAndRemoveVectorElement()Lioncash1-2/+2
2018-08-02vfs_vector: Avoid unnecessary copies where applicableLioncash1-2/+5
2018-08-01Add missing parameter to files.push_back()Zach Hilman1-5/+5
2018-08-01Use more descriptive error codes and messagesZach Hilman1-2/+8
2018-08-01Use ErrorEncrypted where applicable and fix no keys crashZach Hilman3-17/+33
2018-08-01Add missing includes and use const where applicableZach Hilman4-9/+14
2018-08-01Make XCI comply to review and style guidelinesZach Hilman4-45/+30
2018-08-01Extract mbedtls to cpp fileZach Hilman1-1/+2
2018-08-01Remove files that are not usedZach Hilman6-36/+425
2018-07-29partition_filesystem: Remove dynamic_cast in PrintDebugInfo()Lioncash1-3/+2
2018-07-28RomFS ExtractionZach Hilman11-20/+347
2018-07-24VFS Regression and Accuracy Fixes (#776)Zach Hilman2-20/+33
2018-07-24partition_filesystem: Use std::move where applicableLioncash1-3/+3
2018-07-23NRO Assets and NACP file formatZach Hilman2-0/+123
2018-07-22vfs: Correct file_p variable usage within InterpretAsDirectory()Lioncash1-2/+5
2018-07-22file_util, vfs: Use std::string_view where applicableLioncash6-89/+150
2018-07-22file_util: Use a u64 to represent number of entriesLioncash1-3/+3
2018-07-21file_sys/errors: Remove redundant object constructor callsLioncash1-8/+8
2018-07-21vfs_real: Remove redundant copying of std::vector instances in GetFiles() and GetSubdirectories()Lioncash1-2/+3
2018-07-21partition_filesystem, vfs_real: Add missing standard includesLioncash2-0/+4
2018-07-21partition_filesystem, vfs_real: Use std::move in ReplaceFileWithSubdirectory() where applicableLioncash2-2/+3
2018-07-21partition_filesystem, vfs_real: Use std::distance() instead of subtractionLioncash2-4/+10
2018-07-21vfs_offset: Simplify TrimToFit()Lioncash1-1/+2
2018-07-21vfs: Make WriteBytes() overload taking a std::vector pass the std::vector by const referenceLioncash4-4/+4
2018-07-21vfs: Use variable template variants of std::is_trivially_copyableLioncash1-13/+6
2018-07-21vfs: Amend constness on pointers in WriteBytes() and WriteArrays() member functions to be const qualifiedLioncash1-3/+3
2018-07-20vfs_offset: std::move file and name parameters of OffsetVfsFileLioncash2-3/+5
2018-07-20partition_filesystem: Return pfs_dirs member variable within GetSubdirectories()Lioncash1-1/+1
2018-07-19savedata_factory: Make SaveDataDescriptor's DebugInfo() function a const member functionLioncash2-2/+2
2018-07-19partition_filesystem: Ensure all class members of PartitionFilesystem are initializedLioncash2-24/+15
2018-07-19content_archive: Make IsDirectoryExeFS() take a shared_ptr as a const referenceLioncash1-1/+1
2018-07-19content_archive: Add missing standard includesLioncash1-0/+5
2018-07-19content_archive: std::move VirtualFile in NCA's constructorLioncash1-1/+4
2018-07-19vfs: Deduplicate accumulation code in VfsDirectory's GetSize()Lioncash1-6/+6
2018-07-19Virtual Filesystem 2: Electric Boogaloo (#676)Zach Hilman30-1211/+1267
2018-07-17General Filesystem and Save Data Fixes (#670)Zach Hilman8-106/+123
2018-07-14FileSys: Append the requested path to the filesystem base path in DeleteFile.Subv1-2/+4
2018-07-08savedata_factory: Always create a save directory for games.bunnei1-0/+9
2018-07-08Revert "Virtual Filesystem (#597)"bunnei23-1127/+996
2018-07-06Virtual Filesystem (#597)Zach Hilman23-996/+1127
2018-07-03Update clang formatJames Rowe3-10/+8
2018-07-03Rename logging macro back to LOG_*James Rowe8-55/+55
2018-06-21Add support for decrypted NCA files (#567)Zach Hilman2-4/+16
2018-06-20Build: Fixed some MSVC warnings in various parts of the code.Subv2-6/+6
2018-06-19Services/FS: Return the correct error code when trying to mount a nonexistent savedata.Subv1-0/+1
2018-05-02general: Make formatting of logged hex values more straightforwardLioncash1-9/+9
2018-04-25file-sys: convert a StringFromFormat call into fmt::format in GetFullPath()Lioncash1-4/+1
2018-04-25file-sys: Move logging macros over to the new fmt-capable onesLioncash8-64/+58
2018-04-24Service/FS: implement IFileSystem::RenameFilemailwl5-7/+15
2018-04-20disk_filesystem: Remove unused total_entries_in_directory member from Disk_DirectoryLioncash1-1/+0
2018-04-20disk_filesystem: Remove redundant initializer in Disk_Directory's constructorLioncash1-1/+1
2018-04-20disk_filesystem: Make constructors explicit where applicableLioncash1-2/+2
2018-04-17file_sys: Use NGLOGshinyquagsire231-5/+5
2018-04-16file_sys: tweaksshinyquagsire232-6/+7
2018-04-16file_sys: Add HFS/PFS helper componentshinyquagsire232-0/+211
2018-04-15fsp_srv: Implement DeleteFile.bunnei5-8/+12
2018-03-31fsp_srv: Implement GetSize and SetSize.bunnei1-2/+3
2018-03-23FS: Move the file open mode calculation to a separate function.Subv1-7/+14
2018-03-21FS: Implemented IFileSystem::CreateDirectory.Subv5-7/+14
2018-03-20FS: Implement DiskFileSystem's OpenDirectory interface.Subv5-6/+19
2018-03-20FS: Implement DiskFileSystem::GetEntryType for existing files/directories.Subv1-2/+4
2018-03-20FS: Updated the Directory Entry structure to match the Switch.Subv5-30/+84
2018-03-20FS: Support the file Append open mode.Subv2-2/+23
2018-03-20FS: Added an SDMC archive factory and registered it to the SDMC archive on startup.Subv2-0/+71
2018-03-14core: Move process creation out of global state.bunnei1-1/+2
2018-03-04FS: Use the correct error code when trying to open files that don't exist.Subv2-26/+6
2018-03-04FS: Make EnsureSaveData create the savedata folder when called for the first time.Subv5-15/+30
2018-03-02SaveData: Use the current titleid when opening the savedata archive.Subv1-2/+3
2018-03-02Filesystem: Added a SaveData Factory and associated Disk_FileSystem.Subv7-14/+315
2018-02-26file_sys: Style tweaksshinyquagsire232-11/+5
2018-02-25file_sys: Add support for parsing NPDM filesshinyquagsire232-0/+274
2018-01-21file_sys: Clang format fixes.bunnei3-4/+4
2018-01-21file_sys: Cleanup to better match Switch file system constructs.bunnei9-57/+128
2018-01-21file_sys: Remove disk_archive, savedata_archive, and title_metadata.bunnei6-829/+0
2018-01-21archive_backend: Minor changes to match Switch IFileSystem.bunnei5-26/+26
2018-01-21file_sys: Repurpose 3DS IVFC code for Switch ROMFS.bunnei2-49/+41
2018-01-21Format: Run the new clang format on everythingJames Rowe1-1/+1
2018-01-17Update title_metadata.hN00byKing1-0/+1
2018-01-13core: Gut out cryptop, since it doesn't compile with C++17.bunnei1-50/+1
2017-11-01hle: Use Switch formatted result codes.bunnei3-74/+24
2017-10-15core: Refactor MakeMagic usage and remove dead code.bunnei2-697/+0
2017-10-13Remove lots more 3DS-specific code.bunnei18-1935/+0
2017-10-01file_sys, loader: add support for reading TMDs to determine app pathsshinyquagsire231-2/+13
2017-10-01file_sys: add class for Title Metadata (TMD)shinyquagsire232-0/+337
2017-10-01file_sys/ncch_container: add RomFS, ExeFS override to allow for backward compatibility with existing .romfs system archive dumpsshinyquagsire232-69/+206
2017-10-01file_sys/archive_ncch: use NCCHContainer instead of loading .romfs filesshinyquagsire231-6/+12
2017-09-30nso: Refactor and allocate .bss section.bunnei1-3/+6
2017-09-25HLE/Archives: Allow multiple loaded applications to access their SelfNCCH archive independently.Subv2-13/+39
2017-09-25Loader/NCCH: Add support for loading application updates (#2927)Max Thomas4-5/+587
2017-08-21Warnings: Add UNREACHABLE macros to switches that contemplate all possible values.Subv1-0/+2
2017-07-31Handle invalid filenames when renaming files/directoriesJames2-4/+78
2017-06-03Addressed Bunnei's review comments, and made some other tweaks:TheKoopaKingdom1-6/+6
2017-06-03Switched to the ERROR_NOT_FOUND constant from errors.h.TheKoopaKingdom1-2/+2
2017-06-03Moved whitelist checks from FS_User to the Archive_NCCH handler.TheKoopaKingdom1-1/+35
2017-06-03Made some changes from review comments:TheKoopaKingdom1-1/+2
2017-05-25FileSys: Move all result description to errors.hYuri Kunde Schlesner5-61/+96
2017-03-08file_sys: lower log level for setting host pathwwylele4-4/+4
2017-02-27Doxygen: Amend minor issues (#2593)Mat M1-1/+1
2017-02-13loader: use self NCCH archivewwylele2-81/+0
2017-02-13file_sys: add Self NCCH archivewwylele3-0/+312
2017-01-29core: fix savedata_archive.cpp warnings about unhandled enumeration values on OSXKloen1-0/+12
2017-01-29core: fix archive_sdmc.cpp warnings about unhandled enumeration value on OSXKloen1-0/+12
2017-01-29core: fix archive_extsavedata.cpp warning on OSXKloen1-0/+2
2016-12-22Address clang-format issues.bunnei1-4/+3
2016-12-22core: Remove HLE module, consolidate code & various cleanups.bunnei4-5/+5
2016-12-15archive_source_sd_savedata: Add static method to get a specific save data pathMerryMage2-0/+7
2016-12-07file_sys: Make a few single-argument constructors explicitLioncash8-10/+10
2016-11-29FileSys: Implement OtherSaveDatawwylele3-0/+200
2016-11-29FileSys: abstract SD save data archive sourcewwylele4-78/+132
2016-11-19FileSys: rename SaveDataCheck archive to NCCH archivewwylele2-15/+15
2016-11-19FileSys: remove unused DiskArchivewwylele2-179/+0
2016-11-19FileSys: w->rw permission lift only happens in SDMC archivewwylele4-2/+14
2016-11-19FileSys: add SDMCWriteOnlyArchivewwylele3-0/+129
2016-11-19FileSys: add SDMCArchivewwylele3-1/+301
2016-11-19FileSys: add ExtSaveDataArchivewwylele1-1/+114
2016-11-19FileSys: add SaveDataArchivewwylele5-4/+359
2016-11-19FileSys: remove Open from FileBackendwwylele4-64/+44
2016-11-19FileSys: remove Open from DirectoryBackendwwylele4-25/+5
2016-11-19FileSys: add PathParserwwylele2-0/+159
2016-11-01FileSys: make Archive interfaces return error codewwylele5-55/+82
2016-10-02fs: implement DeleteDirectoryRecursivelywwylele5-0/+19
2016-09-21Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner9-9/+9
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot20-44/+9
2016-09-19Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner8-43/+30
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot20-136/+217
2016-05-21FileSys/Path: Replace Memory::GetPointer with Memory::ReadBlockMerryMage1-6/+6
2016-04-05Common: Remove Common::make_unique, use std::make_uniqueMerryMage8-19/+17
2016-03-21archive_extsavedata: Fix member initialization orderLioncash1-1/+2
2016-03-20HLE/FS: Change the error code returned when an ExtSaveData archive is not found.Subv4-29/+37
2016-03-20HLE/FS: Corrected some style concerns.Subv4-8/+8
2016-03-20HLE/FS: Implemented GetFormatInfoSubv13-14/+130
2016-03-20HLE/FS: Return the proper error codes when opening files.Subv6-25/+39
2016-03-20HLE/FS: Return the proper error codes on file Read/Write operations.Subv5-16/+24
2016-03-20HLE/FS: Corrected the error codes for DeleteFileSubv5-8/+21
2016-03-20HLE/FS: Corrected the error codes for CreateFileSubv1-1/+4
2016-03-20HLE/FS: FS::CreateFile takes an u64 for the file size.Subv5-5/+5
2016-01-25archive_backend: Remove unnecessary const from return typesLioncash2-8/+8
2016-01-16DiskDirectory: Initialize the directory member with valid info.Subv1-2/+4
2015-10-28Implement FS_User::GetFreeBytesarchshift5-0/+18
2015-09-30ivfc_archive: Fix a printf specifierLioncash1-1/+1
2015-09-10disk_archive: Remove unimplemented constructor declarationsLioncash1-2/+0
2015-08-29Services/FS: Correctly tell the guest app whether a file was correctly opened or not.Subv1-1/+1
2015-07-14Archive: Correct a few incorrect types in function signaturesYuri Kunde Schlesner5-21/+21
2015-07-14Loader: Remove unnecessary pointer indirection to IOFileYuri Kunde Schlesner2-2/+2
2015-07-14FS: Stream RomFS from file instead of loading all of it to memorycondut5-23/+27
2015-07-12Core: Properly configure address space when loading a binaryYuri Kunde Schlesner1-2/+2
2015-06-28Core: Cleanup file_sys includes.Emmanuel Gil Peyrot17-30/+52
2015-06-28CitraQt: Cleanup includes.Emmanuel Gil Peyrot1-0/+1
2015-06-28Common: Cleanup memory and misc includes.Emmanuel Gil Peyrot1-0/+2
2015-06-28Common: Fix FileUtil includes, and everything relying on those.Emmanuel Gil Peyrot4-0/+4
2015-06-02ExtSavedata: Save the icon passed to CreateExtSaveData to the correct folder.Subv1-3/+6
2015-05-29Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot3-5/+5
2015-05-15Memmap: Re-organize memory function in two filesYuri Kunde Schlesner1-1/+1
2015-05-09Kernel: Remove g_program_idYuri Kunde Schlesner1-2/+3
2015-05-07Common: Remove common.hYuri Kunde Schlesner8-1/+7
2015-05-07Clean-up includesYuri Kunde Schlesner2-4/+2
2015-05-07FileSys: De-inline Path membersYuri Kunde Schlesner2-125/+136
2015-05-07FileSys: Clean-up includes, de-inline destructorsYuri Kunde Schlesner3-7/+14
2015-04-14Headers: Add some forgotten overrides, thanks clang!Emmanuel Gil Peyrot1-1/+1
2015-03-14Services/FS: Implemented DeleteExtSaveData, CreateSystemSaveData and DeleteSystemSaveDataSubv4-2/+76
2015-02-26Archives: Properly implemented the SystemSaveData archive.Subv2-19/+28
2015-02-10FS: Allow multiple instances of the same archive type to be open at onceYuri Kunde Schlesner15-129/+163
2015-01-24Services: Stubbed more services.Subv2-2/+19
2015-01-06Archives/Exdata: Don't set concrete_mount_point in the ctorSubv1-1/+1
2015-01-06Archives: Addressed some commentsSubv4-13/+13
2015-01-05SaveDataCheck: Fixed a typoSubv1-1/+1
2015-01-04Archives: Make SYSTEM_ID and SDCARD_ID stringsSubv4-5/+7
2015-01-04Archives: Changed the way paths are built for the archives.Subv6-12/+44
2015-01-04SaveDataCheck: Move the files to nand/titleSubv1-1/+2
2015-01-03FileSys: Fix crash bug in DiskFile exposed by #400Yuri Kunde Schlesner1-4/+0
2015-01-03FileSys: Fix a few memory leaksYuri Kunde Schlesner2-6/+7
2015-01-03Archives: Change the folder layout of some archives.Subv1-2/+1
2015-01-03IVFCArchive: Use a critical log to notify of invalid operations.Subv1-9/+9
2015-01-03SaveDataCheck: Remove unneeded constructor from a classSubv1-2/+0
2015-01-03Archives: Added some documentation to IVFCArchiveSubv1-0/+5
2015-01-03Archives: Reduced duplicate code in RomFS and SaveCheck.Subv11-333/+229
2015-01-03SaveDataCheck: Preliminary work in this archive.Subv2-4/+28
2014-12-30Archives: Implemented ExtSaveData and SharedExtSaveDataSubv8-15/+168
2014-12-24FileSys: Clean up according to the coding style, and remove redundant namespaced names.Emmanuel Gil Peyrot9-169/+97
2014-12-21CFG: Create a new subfolder cfg inside service to handle cfgSubv1-0/+1
2014-12-21Style: Addressed some commentsSubv1-2/+7
2014-12-21CFG: Refactored how the config file works.Subv1-1/+1
2014-12-21CFG: Implemented the GetConfigInfoBlk2 function.Subv3-3/+9
2014-12-21Added CreateFile to the FS_USER servicearchshift5-0/+44
2014-12-21License changepurpasmart9617-17/+17
2014-12-20Clean up some warningsChin1-1/+10
2014-12-20Common: Add a clone of std::make_uniqueYuri Kunde Schlesner1-2/+3
2014-12-18SystemSaveData: Added a TODO to move it to the NAND.Subv1-1/+3
2014-12-18SaveData: Implemented the SystemSaveData archive.Subv3-2/+65
2014-12-18Filesystem/Archives: Implemented the SaveData archiveSubv12-473/+344
2014-12-16FS.Archive: Clean up treatment of archives and their handlesYuri Kunde Schlesner7-190/+21
2014-12-16Service.FS: Rename FileSys::File to FileBackendYuri Kunde Schlesner8-15/+15
2014-12-16Service.FS: Rename FileSys::Directory to DirectoryBackendYuri Kunde Schlesner8-15/+15
2014-12-16Service.FS: Rename FileSys::Archive to ArchiveBackendYuri Kunde Schlesner3-6/+6
2014-12-16Service.FS: Do archive registration using IdCode instead of nameYuri Kunde Schlesner3-25/+4
2014-12-13Convert old logging calls to new logging macrosYuri Kunde Schlesner5-24/+28
2014-12-08Kernel/File: Fixed file read/write hwtestsSubv1-3/+6
2014-12-07Make OpenDirectory fail if the directory doesn't existarchshift6-3/+35
2014-12-04Updated archive.cpp functions for proper error handlingarchshift2-24/+0
2014-11-27Fixed formatting and switch statement warningsvaguilar2-1/+3
2014-11-25Implemented RenameDirectory in FS:USERarchshift5-0/+45
2014-11-25Implemented RenameFile in FS:USERarchshift5-0/+45
2014-11-23Added DeleteFile and DeleteDirectory functions to FS:USER and the archives.archshift5-0/+80
2014-11-19Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generatedEmmanuel Gil Peyrot2-2/+2
2014-11-18directory_sdmc: Fix a signed/unsigned mismatch comparisonLioncash1-1/+1
2014-11-18Remove extraneous semicolonsLioncash3-3/+3
2014-11-18FileSys: Updated backend code to use FileSys::Path instead of string for paths.bunnei9-24/+24
2014-11-18FileSys: Added DebugStr method to Path class.bunnei1-0/+29
2014-11-13Use std::u16string for conversion between UTF-8 and UTF-16, FS:USER functionsarchshift1-0/+99
2014-11-02Added CreateDirectory function to service/fs.cpp, and in Archive.archshift5-0/+40
2014-10-30Fix some warningsSean2-2/+2
2014-10-23Use config files to store whether SDMC is enabled or notarchshift1-2/+8
2014-10-06Common: Add a helper function to generate a 8.3 filename from a long one.Emmanuel Gil Peyrot3-29/+27
2014-10-06FileSys: Add static asserts for the Directory struct, and fix its fields position.Emmanuel Gil Peyrot1-2/+8
2014-10-06FileSys: split the constructor into an Open method, in order to notify the opener something went wrong.Emmanuel Gil Peyrot6-14/+54
2014-10-06FileSys/Kernel: Implement SetSize service call for File objects.Emmanuel Gil Peyrot5-0/+41
2014-10-06FileSys: Add forgotten docstrings.Emmanuel Gil Peyrot7-4/+35
2014-09-28Fix warnings in core and commonLioncash1-1/+1
2014-09-17Core: Add a method to obtain a Directory from an Archive.Emmanuel Gil Peyrot5-0/+44
2014-09-17Core: Add a Directory object, with both a stub and a passthrough implementations.Emmanuel Gil Peyrot5-0/+259
2014-09-17Core: Add a passthrough backend for the filesystem, exposed as SDMC.Emmanuel Gil Peyrot4-0/+298
2014-09-17Core: Add a new File class, obtainable from an Archive, and a stub implementation.Emmanuel Gil Peyrot6-0/+205
2014-08-23Added FS functions to Archive and Archive_RomFSarchshift3-8/+57
2014-07-05Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS virtual functions as "override".bunnei1-4/+4
2014-07-05Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS classes as "final"bunnei1-1/+1
2014-07-05Loader: Updated read methods to be constbunnei2-2/+2
2014-07-05FileSys: Added preliminary support for applications reading the RomFS archive.bunnei4-138/+150
2014-06-27Core: Removed unused directory_file_system and meta_file_system modules.bunnei4-1453/+0
2014-04-23fixes to build on linuxbunnei2-22/+22
2014-04-09fixed project includes to use new directory structurebunnei5-20/+15
2014-04-09got rid of 'src' folders in each sub-projectbunnei5-0/+1596