summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/savedata_factory.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* android: Re-add global save managert8952024-01-041-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>
* fs: don't enumerate hidden savedata size fileLiam2023-12-091-0/+4
|
* core: remove ResultVal typeLiam2023-08-081-2/+2
|
* savedata_factory: Detect future save data pathsMorph2022-10-171-2/+2
| | | | Enable compatibility for new account/device save paths planned on a future implementation.
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-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.
* core: Remove unused includesameerj2021-11-041-1/+0
|
* fspsrv: Implement DisableAutoSaveDataCreation (#6355)Chloe2021-06-031-0/+3
| | | - Used by Mii Edit
* core: Silence Wclass-memaccess warningsReinUsesLisp2021-01-151-2/+2
| | | | | This requires making several types trivial and properly initialize them whenever they are called.
* savedata_factory: Eliminate usage of the global system instanceLioncash2020-11-271-3/+8
| | | | Now there's only two meaningful instances left in core.
* fs: Rename SaveDataDescriptor to SaveDataAttributeMorph2020-07-301-12/+35
|
* filesystem: Add const qualification to various accessorsZach Hilman2019-09-211-3/+4
|
* savedata_factory: Implement savedata creation and don't create dir on openZach Hilman2019-09-211-0/+1
| | | Matches hardware behavior and eliminates some nasty behavior we were doing that wasn't hw-accurate at all.
* service/fsp_srv: Don't pass SaveDataDescriptor instances by value.Lioncash2019-04-051-1/+1
| | | | | Passing around a 64 byte data struct by value is kind of wasteful, instead pass a reference to the struct.
* service/fsp_srv: Update SaveDataInfo and SaveDataDescriptor structsLioncash2019-04-051-1/+8
| | | | | I realized that I updated the documentation on SwitchBrew a while ago, but never actually updated the structs within yuzu.
* savedata_factory: Partially implement IVFC save sizes using filesZach Hilman2018-12-271-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.
* file_sys/save_data_factory: Update SaveDataSpaceId enumLioncash2018-12-081-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).
* ns: Implement command 400: GetApplicationControlDataZach Hilman2018-10-291-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.
* savedata_factory: Expose accessors for SaveDataSpaceZach Hilman2018-10-291-0/+3
|
* file-sys: Default heavy-weight class destructors in the cpp fileLioncash2018-09-201-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.
* file_sys: Replace includes with forward declarations where applicableLioncash2018-09-041-0/+1
| | | | | Cuts down on include dependencies, resulting in less files that need to be rebuilt when certain things are changed.
* core/core: Replace includes with forward declarations where applicableLioncash2018-08-311-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.
* qt/main: Port part of citra(#3411), open savedata workstech4me2018-08-211-3/+3
|
* file_sys: Add missing include in savedata_factoryZach Hilman2018-08-091-0/+1
|
* savedata_factory: Make SaveDataDescriptor's DebugInfo() function a const member functionLioncash2018-07-191-1/+1
| | | | This function doesn't alter class state.
* Virtual Filesystem 2: Electric Boogaloo (#676)Zach Hilman2018-07-191-6/+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-9/+37
|
* Revert "Virtual Filesystem (#597)"bunnei2018-07-081-0/+33
| | | | This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2.
* Virtual Filesystem (#597)Zach Hilman2018-07-061-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
* FS: Make EnsureSaveData create the savedata folder when called for the first time.Subv2018-03-041-1/+3
|
* Filesystem: Added a SaveData Factory and associated Disk_FileSystem.Subv2018-03-021-0/+31