summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/sdmc_factory.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-08-08core: remove ResultVal typeLiam1-1/+1
2022-04-23general: Convert source file copyright comments over to SPDXMorph1-3/+2
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2021-11-02general: Remove MakeResult helpersMorph1-1/+1
This is made obsolete by the presence of implicit constructors.
2021-06-28filesystem: Open a read-only directory for SDMC modsMorph1-12/+13
This prevents mod files from being locked due to the read-only share flag in Windows.
2021-06-28core: Simplify SDMC mod loadinglat9nq1-1/+2
If someone else wants to support other mod formats in the SDMC directory, that can be added later. For now, just allow RomFS modding here and force people to do other types of mods the old way. Addresses review comments. Co-authored-by: LC <mathew1800@gmail.com>
2021-06-28core: Support LayeredFS mod from SDMC directorylat9nq1-0/+7
Enables loading a mod directly from `[yuzu data directory]/sdmc/atmosphere/contents/[title_id]`. For use with some homebrew mod managers.
2020-08-23file_sys: Replace inclusions with forward declarations where applicableLioncash1-1/+1
Same behavior, minus unnecessary inclusions where not necessary.
2020-07-10sdmc_factory: Set the SDMC total size to 1 TiBMorph1-1/+3
We should not be limited by the SDMC's partition size, set this to 1 TiB. Hardware is limited to the max allowed by the MBR partition table which is 2 TiB.
2019-09-21filesystem: Add const qualification to various accessorsZach Hilman1-1/+1
2019-09-21sdmc_factory: Add SD Card size gettersZach Hilman1-0/+9
2019-09-21sdmc_factory: Add accessor for SDMC Album directoryZach Hilman1-0/+4
2019-09-21sdmc_factory: Add accessor for SDMC PlaceholderCacheZach Hilman1-1/+7
2019-09-21sdmc_factory: Add accessor for content directoryZach Hilman1-0/+4
2018-10-16file_sys/registered_cache: Use unique_ptr and regular pointers instead of shared_ptrs where applicableLioncash1-4/+4
The data retrieved in these cases are ultimately chiefly owned by either the RegisteredCache instance itself, or the filesystem factories. Both these should live throughout the use of their contained data. If they don't, it should be considered an interface/design issue, and using shared_ptr instances here would mask that, as the data would always be prolonged after the main owner's lifetime ended. This makes the lifetime of the data explicit and makes it harder to accidentally create cyclic references. It also makes the interface slightly more flexible than the previous API, as a shared_ptr can be created from a unique_ptr, but not the other way around, so this allows for that use-case if it ever becomes necessary in some form.
2018-08-25file_sys/crypto: Fix missing/unnecessary includesZach Hilman1-0/+2
2018-08-23key_manager: Create keys dir if it dosen't existZach Hilman1-0/+1
On call to WriteKeyToFile, so that the autogenerated file can be written.
2018-08-23sdmc_factory: Add SDMC RegisteredCache getterZach Hilman1-1/+11
2018-08-21sdmc_factory: Remove unnecessary core includeLioncash1-1/+0
This doesn't require the central core header to be included, it just needs the vfs headers.
2018-07-19Virtual Filesystem 2: Electric Boogaloo (#676)Zach Hilman1-13/+3
* Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression
2018-07-17General Filesystem and Save Data Fixes (#670)Zach Hilman1-14/+2
2018-07-08Revert "Virtual Filesystem (#597)"bunnei1-0/+39
This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2.
2018-07-06Virtual Filesystem (#597)Zach Hilman1-39/+0
* 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-03Rename logging macro back to LOG_*James Rowe1-2/+2
2018-04-25file-sys: Move logging macros over to the new fmt-capable onesLioncash1-3/+2
2018-03-20FS: Added an SDMC archive factory and registered it to the SDMC archive on startup.Subv1-0/+40