aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys
AgeCommit message (Collapse)Author
2018-07-02Update clang formatJames Rowe
2018-07-02Rename logging macro back to LOG_*James Rowe
2018-06-21Add support for decrypted NCA files (#567)Zach Hilman
* Start to add NCA support in loader * More nca stuff * More changes to nca.cpp * Now identifies decrypted NCA cont. * Game list fixes and more structs and stuff * More updates to Nca class * Now reads ExeFs (i think) * ACTUALLY LOADS EXEFS! * RomFS loads and games execute * Cleanup and Finalize * plumbing, cleanup and testing * fix some things that i didnt think of before * Preliminary Review Changes * Review changes for bunnei and subv
2018-06-20Build: Fixed some MSVC warnings in various parts of the code.Subv
2018-05-02general: Make formatting of logged hex values more straightforwardLioncash
This makes the formatting expectations more obvious (e.g. any zero padding specified is padding that's entirely dedicated to the value being printed, not any pretty-printing that also gets tacked on).
2018-04-25file-sys: convert a StringFromFormat call into fmt::format in GetFullPath()Lioncash
Lessens the amount to read and gets rid of the PRIX64 macro, allowing us to use a single string for the whole path, making it easier to read.
2018-04-25file-sys: Move logging macros over to the new fmt-capable onesLioncash
2018-04-24Service/FS: implement IFileSystem::RenameFilemailwl
2018-04-19disk_filesystem: Remove unused total_entries_in_directory member from ↵Lioncash
Disk_Directory
2018-04-19disk_filesystem: Remove redundant initializer in Disk_Directory's constructorLioncash
2018-04-19disk_filesystem: Make constructors explicit where applicableLioncash
2018-04-17file_sys: Use NGLOGshinyquagsire23
2018-04-16file_sys: tweaksshinyquagsire23
2018-04-16file_sys: Add HFS/PFS helper componentshinyquagsire23
2018-04-15fsp_srv: Implement DeleteFile.bunnei
- Used by Binding of Isaac.
2018-03-31fsp_srv: Implement GetSize and SetSize.bunnei
2018-03-23FS: Move the file open mode calculation to a separate function.Subv
2018-03-21FS: Implemented IFileSystem::CreateDirectory.Subv
2018-03-19FS: Implement DiskFileSystem's OpenDirectory interface.Subv
2018-03-19FS: Implement DiskFileSystem::GetEntryType for existing files/directories.Subv
2018-03-19FS: Updated the Directory Entry structure to match the Switch.Subv
2018-03-19FS: Support the file Append open mode.Subv
2018-03-19FS: Added an SDMC archive factory and registered it to the SDMC archive on ↵Subv
startup.
2018-03-14core: Move process creation out of global state.bunnei
2018-03-04FS: Use the correct error code when trying to open files that don't exist.Subv
2018-03-04FS: Make EnsureSaveData create the savedata folder when called for the first ↵Subv
time.
2018-03-01SaveData: Use the current titleid when opening the savedata archive.Subv
2018-03-01Filesystem: Added a SaveData Factory and associated Disk_FileSystem.Subv
2018-02-25file_sys: Style tweaksshinyquagsire23
Asdf
2018-02-25file_sys: Add support for parsing NPDM filesshinyquagsire23
2018-01-21file_sys: Clang format fixes.bunnei
2018-01-21file_sys: Cleanup to better match Switch file system constructs.bunnei
file_sys: Add factory class for RomFS file system.
2018-01-21file_sys: Remove disk_archive, savedata_archive, and title_metadata.bunnei
2018-01-21archive_backend: Minor changes to match Switch IFileSystem.bunnei
2018-01-21file_sys: Repurpose 3DS IVFC code for Switch ROMFS.bunnei
2018-01-20Format: Run the new clang format on everythingJames Rowe
2018-01-17Update title_metadata.hN00byKing
2018-01-12core: Gut out cryptop, since it doesn't compile with C++17.bunnei
2017-10-31hle: Use Switch formatted result codes.bunnei
2017-10-15core: Refactor MakeMagic usage and remove dead code.bunnei
2017-10-12Remove lots more 3DS-specific code.bunnei
2017-10-09Merge remote-tracking branch 'upstream/master' into nxbunnei
# Conflicts: # src/core/CMakeLists.txt # src/core/arm/dynarmic/arm_dynarmic.cpp # src/core/arm/dyncom/arm_dyncom.cpp # src/core/hle/kernel/process.cpp # src/core/hle/kernel/thread.cpp # src/core/hle/kernel/thread.h # src/core/hle/kernel/vm_manager.cpp # src/core/loader/3dsx.cpp # src/core/loader/elf.cpp # src/core/loader/ncch.cpp # src/core/memory.cpp # src/core/memory.h # src/core/memory_setup.h
2017-10-01file_sys, loader: add support for reading TMDs to determine app pathsshinyquagsire23
2017-10-01file_sys: add class for Title Metadata (TMD)shinyquagsire23
2017-10-01file_sys/ncch_container: add RomFS, ExeFS override to allow for backward ↵shinyquagsire23
compatibility with existing .romfs system archive dumps
2017-10-01file_sys/archive_ncch: use NCCHContainer instead of loading .romfs filesshinyquagsire23
2017-09-30nso: Refactor and allocate .bss section.bunnei
2017-09-25HLE/Archives: Allow multiple loaded applications to access their SelfNCCH ↵Subv
archive independently. The loaders now register each loaded ROM with the SelfNCCH factory, which keeps the data around for the duration of the emulation session. When opening the SelfNCCH archive, the factory queries the current program's programid and uses that as a key to the map that contains the NCCHData structure (RomFS, Icon, Banner, etc). 3dsx files do not have a programid and will use a default of 0 for this value, thus, only 1 3dsx file with RomFS is loadable at the same time.
2017-09-25Loader/NCCH: Add support for loading application updates (#2927)Max Thomas
* loader/ncch: split NCCH parsing into its own file * loader/ncch: add support for loading update NCCHs from the SD card * loader/ncch: fix formatting * file_sys/ncch_container: Return a value for OpenFile * loader/ncch: cleanup, always instantiate overlay_ncch to base_ncch * file_sys/ncch_container: better encryption checks, allow non-app NCCHs to load properly and for the existence of NCCH structures to be checked * file_sys/ncch_container: pass filepath as a const reference
2017-08-21Warnings: Add UNREACHABLE macros to switches that contemplate all possible ↵Subv
values.