summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/sdmc_factory.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* general: Remove MakeResult helpersMorph2021-11-021-1/+1
| | | | This is made obsolete by the presence of implicit constructors.
* filesystem: Open a read-only directory for SDMC modsMorph2021-06-281-12/+13
| | | | This prevents mod files from being locked due to the read-only share flag in Windows.
* core: Simplify SDMC mod loadinglat9nq2021-06-281-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>
* core: Support LayeredFS mod from SDMC directorylat9nq2021-06-281-0/+7
| | | | | | Enables loading a mod directly from `[yuzu data directory]/sdmc/atmosphere/contents/[title_id]`. For use with some homebrew mod managers.
* file_sys: Replace inclusions with forward declarations where applicableLioncash2020-08-231-1/+1
| | | | Same behavior, minus unnecessary inclusions where not necessary.
* sdmc_factory: Set the SDMC total size to 1 TiBMorph2020-07-101-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.
* filesystem: Add const qualification to various accessorsZach Hilman2019-09-211-1/+1
|
* sdmc_factory: Add SD Card size gettersZach Hilman2019-09-211-0/+9
|
* sdmc_factory: Add accessor for SDMC Album directoryZach Hilman2019-09-211-0/+4
|
* sdmc_factory: Add accessor for SDMC PlaceholderCacheZach Hilman2019-09-211-1/+7
|
* sdmc_factory: Add accessor for content directoryZach Hilman2019-09-211-0/+4
|
* file_sys/registered_cache: Use unique_ptr and regular pointers instead of shared_ptrs where applicableLioncash2018-10-161-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.
* file_sys/crypto: Fix missing/unnecessary includesZach Hilman2018-08-251-0/+2
|
* key_manager: Create keys dir if it dosen't existZach Hilman2018-08-231-0/+1
| | | | On call to WriteKeyToFile, so that the autogenerated file can be written.
* sdmc_factory: Add SDMC RegisteredCache getterZach Hilman2018-08-231-1/+11
|
* sdmc_factory: Remove unnecessary core includeLioncash2018-08-211-1/+0
| | | | | This doesn't require the central core header to be included, it just needs the vfs headers.
* Virtual Filesystem 2: Electric Boogaloo (#676)Zach Hilman2018-07-191-13/+3
| | | | | | | | | | * Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression
* General Filesystem and Save Data Fixes (#670)Zach Hilman2018-07-171-14/+2
|
* Revert "Virtual Filesystem (#597)"bunnei2018-07-081-0/+39
| | | | This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2.
* Virtual Filesystem (#597)Zach Hilman2018-07-061-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
* Rename logging macro back to LOG_*James Rowe2018-07-031-2/+2
|
* file-sys: Move logging macros over to the new fmt-capable onesLioncash2018-04-251-3/+2
|
* FS: Added an SDMC archive factory and registered it to the SDMC archive on startup.Subv2018-03-201-0/+40