aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/filesystem
AgeCommit message (Collapse)Author
2018-07-19filesystem: std::move VirtualDir instance in VfsDirectoryServiceWrapper's ↵Lioncash
constructor Avoids unnecessary atomic reference count incrementing and decrementing
2018-07-19filesystem: Use std::string's empty() function instead of comparing against ↵Lioncash
a literal This is simply a basic value check as opposed to potentially doing string based operations (unlikely, but still, avoiding it is free).
2018-07-19filesystem: Remove pragma disabling global optimizationsLioncash
This was just an artifact missed during PR review.
2018-07-19fsp_srv: Make IStorage constructor explicitLioncash
Prevents implicit conversions.
2018-07-19fsp_srv: Add missing includesLioncash
Gets rid of relying on indirect inclusions.
2018-07-19fsp_srv: Resolve sign-mismatch warnings in assertion comparisonsLioncash
2018-07-19fsp_srv: Respect write length in Write()Lioncash
Previously we were just copying the data whole-sale, even if the length was less than the total data size. This effectively makes the actual_data vector useless, which is likely not intended. Instead, amend this to only copy the given length amount of data. At the same time, we can avoid zeroing out the data before using it by passing iterators to the constructor instead of a size.
2018-07-18Virtual Filesystem 2: Electric Boogaloo (#676)Zach Hilman
* Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression
2018-07-17General Filesystem and Save Data Fixes (#670)Zach Hilman
2018-07-11Merge pull request #559 from Subv/mount_savedatabunnei
Services/FS: Return the correct error code when trying to mount a nonexistent savedata.
2018-07-07Revert "Virtual Filesystem (#597)"bunnei
This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2.
2018-07-06Virtual Filesystem (#597)Zach Hilman
* Add VfsFile and VfsDirectory classes * Finish abstract Vfs classes * Implement RealVfsFile (computer fs backend) * Finish RealVfsFile and RealVfsDirectory * Finished OffsetVfsFile * More changes * Fix import paths * Major refactor * Remove double const * Use experimental/filesystem or filesystem depending on compiler * Port partition_filesystem * More changes * More Overhaul * FSP_SRV fixes * Fixes and testing * Try to get filesystem to compile * Filesystem on linux * Remove std::filesystem and document/test * Compile fixes * Missing include * Bug fixes * Fixes * Rename v_file and v_dir * clang-format fix * Rename NGLOG_* to LOG_* * Most review changes * Fix TODO * Guess 'main' to be Directory by filename
2018-07-02Update clang formatJames Rowe
2018-07-02Rename logging macro back to LOG_*James Rowe
2018-06-18Services/FS: Return the correct error code when trying to mount a ↵Subv
nonexistent savedata.
2018-06-07Common/string_util: add StringFromBuffer functionmailwl
convert input buffer (std::vector<u8>) to string, stripping zero chars
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-24filesystem: Move logging macros over to new fmt-compatible onesLioncash
2018-04-24Service/FS: implement IFileSystem::RenameFilemailwl
2018-04-19service: Use nested namespace specifiers where applicableLioncash
Tidies up namespace declarations
2018-04-15fsp_srv: Implement DeleteFile.bunnei
- Used by Binding of Isaac.
2018-04-14fsp_srv: Implement IFile::Flush.bunnei
2018-04-11Various fixes and clangHexagon12
2018-04-10Updated fsp-srv with more service names.Hexagon12
2018-04-07Fix spelling of InitializeJames Rowe
2018-03-31hle_ipc, fsp_srv: Cleanup logging.bunnei
2018-03-31fsp_srv: Implement GetSize and SetSize.bunnei
2018-03-23Merge pull request #255 from Subv/sd_cardbunnei
FS: Implemented access to the SD card
2018-03-21FS: Implemented IFileSystem::CreateDirectory.Subv
2018-03-19FS: Implemented IFileSystem's OpenDirectory function.Subv
Note that the filter parameter is not yet implemented.
2018-03-19FS: Added the IDirectory IPC interface and implemented its two functions.Subv
2018-03-19FS: Implement MountSdCard.Subv
2018-03-19FS: Added an SDMC archive factory and registered it to the SDMC archive on ↵Subv
startup.
2018-03-19oopsN00byKing
2018-03-19Clean Warnings (?)N00byKing
2018-03-04FS: Stubbed CreateSaveData. It currently does nothing.Subv
2018-03-04FS: Make EnsureSaveData create the savedata folder when called for the first ↵Subv
time.
2018-03-01FS: Implement MountSaveData and some of the IFile interface.Subv
2018-03-01Filesystem: Added a SaveData Factory and associated Disk_FileSystem.Subv
2018-02-13service: Remove remaining uses of BufferDescriptor*.bunnei
2018-02-09fsp_srv: Stub MountSdCard.bunnei
2018-02-07Service: stub some functions in am, audio, time, vi servicesmailwl
2018-01-24hle: Rename RequestBuilder to ResponseBuilder.bunnei
2018-01-24service: Fix all incorrect IPC response headers.bunnei
2018-01-21fsp_srv: Various improvements to IStorage:Read implementation.bunnei
2018-01-21filesystem: Implement basic IStorage functionality.David Marcec