summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/savedata_factory.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-02-19fs: Add and use fs_save_data_types.hFearlessTobi1-67/+1
2024-01-25vfs: Move vfs files to their own directoryFearlessTobi1-1/+1
2024-01-11fsp-srv: use program registry for SetCurrentProcessLiam1-3/+7
2024-01-04android: Re-add global save managert8951-0/+1
Reworked to correctly collect and import/export saves that could exist in either /nand/user/save/000...000/<user id> or /nand/user/save/account/<user id raw string>
2023-12-09fs: don't enumerate hidden savedata size fileLiam1-0/+4
2023-08-08core: remove ResultVal typeLiam1-2/+2
2022-10-17savedata_factory: Detect future save data pathsMorph1-2/+2
Enable compatibility for new account/device save paths planned on a future implementation.
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-04core: Remove unused includesameerj1-1/+0
2021-06-03fspsrv: Implement DisableAutoSaveDataCreation (#6355)Chloe1-0/+3
- Used by Mii Edit
2021-01-15core: Silence Wclass-memaccess warningsReinUsesLisp1-2/+2
This requires making several types trivial and properly initialize them whenever they are called.
2020-11-27savedata_factory: Eliminate usage of the global system instanceLioncash1-3/+8
Now there's only two meaningful instances left in core.
2020-07-30fs: Rename SaveDataDescriptor to SaveDataAttributeMorph1-12/+35
2019-09-21filesystem: Add const qualification to various accessorsZach Hilman1-3/+4
2019-09-21savedata_factory: Implement savedata creation and don't create dir on openZach Hilman1-0/+1
Matches hardware behavior and eliminates some nasty behavior we were doing that wasn't hw-accurate at all.
2019-04-05service/fsp_srv: Don't pass SaveDataDescriptor instances by value.Lioncash1-1/+1
Passing around a 64 byte data struct by value is kind of wasteful, instead pass a reference to the struct.
2019-04-05service/fsp_srv: Update SaveDataInfo and SaveDataDescriptor structsLioncash1-1/+8
I realized that I updated the documentation on SwitchBrew a while ago, but never actually updated the structs within yuzu.
2018-12-27savedata_factory: Partially implement IVFC save sizes using filesZach Hilman1-0/+8
This stores a file in the save directory called '.yuzu_save_size' which stores the two save sizes (normal area and journaled area) sequentially as u64s.
2018-12-08file_sys/save_data_factory: Update SaveDataSpaceId enumLioncash1-1/+3
Amends it with missing values deduced from RE (ProperSystem being from SwitchBrew for naming) (SdCardUser wasn't that difficult to discern given it's used alongside SdCardSystem when creating the save data indexer, based off the usage of the string "saveDataIxrDbSd" nearby).
2018-10-29ns: Implement command 400: GetApplicationControlDataZach Hilman1-1/+1
Returns the raw NACP bytes and the raw icon bytes into a title-provided buffer. Pulls from Registration Cache for control data, returning all zeros should it not exist.
2018-10-29savedata_factory: Expose accessors for SaveDataSpaceZach Hilman1-0/+3
2018-09-20file-sys: Default heavy-weight class destructors in the cpp fileLioncash1-0/+1
Several classes have a lot of non-trivial members within them, or don't but likely should have the destructor defaulted in the cpp file for future-proofing/being more friendly to forward declarations. Leaving the destructor unspecified allows the compiler to inline the destruction code all over the place, which is generally undesirable from a code bloat perspective.
2018-09-04file_sys: Replace includes with forward declarations where applicableLioncash1-0/+1
Cuts down on include dependencies, resulting in less files that need to be rebuilt when certain things are changed.
2018-08-31core/core: Replace includes with forward declarations where applicableLioncash1-0/+1
The follow-up to e2457418dae19b889b2ad85255bb95d4cd0e4bff, which replaces most of the includes in the core header with forward declarations. This makes it so that if any of the headers the core header was previously including change, then no one will need to rebuild the bulk of the core, due to core.h being quite a prevalent inclusion. This should make turnaround for changes much faster for developers.
2018-08-21qt/main: Port part of citra(#3411), open savedata workstech4me1-3/+3
2018-08-09file_sys: Add missing include in savedata_factoryZach Hilman1-0/+1
2018-07-19savedata_factory: Make SaveDataDescriptor's DebugInfo() function a const member functionLioncash1-1/+1
This function doesn't alter class state.
2018-07-19Virtual Filesystem 2: Electric Boogaloo (#676)Zach Hilman1-6/+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-9/+37
2018-07-08Revert "Virtual Filesystem (#597)"bunnei1-0/+33
This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2.
2018-07-06Virtual Filesystem (#597)Zach Hilman1-33/+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-03-04FS: Make EnsureSaveData create the savedata folder when called for the first time.Subv1-1/+3
2018-03-02Filesystem: Added a SaveData Factory and associated Disk_FileSystem.Subv1-9/+5
2018-01-21file_sys: Cleanup to better match Switch file system constructs.bunnei1-0/+35
file_sys: Add factory class for RomFS file system.