aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/filesystem
AgeCommit message (Collapse)Author
2020-12-15Merge pull request #5119 from Morph1984/fs-opendatastoragewithprogramindexbunnei
fsp_srv: Implement OpenDataStorageWithProgramIndex
2020-12-08fsp_srv: Implement OpenDataStorageWithProgramIndexMorph
- Used by RollerCoaster Tycoon 3: Complete Edition
2020-12-07core: Remove unnecessary enum casts in log callsLioncash
Follows the video core PR. fmt doesn't require casts for enum classes anymore, so we can remove quite a few casts.
2020-11-27savedata_factory: Eliminate usage of the global system instanceLioncash
Now there's only two meaningful instances left in core.
2020-11-26service: Eliminate usages of the global system instanceLioncash
Completely removes all usages of the global system instance within the services code by passing in the using system instance to the services.
2020-11-18patch_manager: Remove usages of the global system instanceLioncash
With this, only 19 usages of the global system instance remain within the core library. We're almost there.
2020-10-20Revert "core: Fix clang build"bunnei
2020-10-20Merge pull request #4796 from lioncash/clangLC
core: Fix clang build
2020-10-17core: Fix clang buildLioncash
Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795
2020-10-13filesystem: Fix CreateDirectory and DeleteFileMorph
Add a check if dir is nullptr (does not exist) Fixes save game creation in Hades
2020-09-16file_sys/bis_factory: Eliminate usage of the global system accessorLioncash
2020-08-23fsp_srv: Resolve -Wunused-but-set-variable warningLioncash
We can just log out the parameters in the meantime.
2020-08-23fsp_srv: Resolve -Wmaybe_uninitialized warning in OpenSaveDataFileSystem()Lioncash
Initialize id to a deterministic value and also mark the unreachable cases in the switch with UNREACHABLE().
2020-08-16common/fileutil: Convert namespace to Common::FSLioncash
Migrates a remaining common file over to the Common namespace, making it consistent with the rest of common files. This also allows for high-traffic FS related code to alias the filesystem function namespace as namespace FS = Common::FS; for more concise typing.
2020-07-31minor nitsMorph
2020-07-30fsp-srv: Stub Read/WriteSaveDataFileSystemExtraDataWithMaskBySaveDataAttributeMorph
Stub these 2 service commands required for Animal Crossing: New Horizons Update 1.4.0
2020-07-30fs: Rename SaveDataDescriptor to SaveDataAttributeMorph
2020-07-16Add comment to clarify the nullptr checkMorph
2020-07-16filesystem: Create subdirectories prior to creating a fileMorph
If subdirectories exist in the given path parameter and don't exist in the real filesystem create them prior to creating the files within. This fixes the softlocks upon save creation in The Legend of Zelda: Breath of the Wild
2020-05-11service: fsp_srv: Stub implementation of OpenMultiCommitManager.bunnei
2020-04-30fs-srv: GetFreeSpaceSize & GetTotalSpaceSizeDavid Marcec
Closes #3533 Turns out the functions were already implemented but just never added
2020-04-20service: Update function tablesLioncash
Keeps the service function tables up to date. Updated based off information on SwitchBrew.
2020-04-15CMakeLists: Specify -Wextra on linux buildsLioncash
Allows reporting more cases where logic errors may exist, such as implicit fallthrough cases, etc. We currently ignore unused parameters, since we currently have many cases where this is intentional (virtual interfaces). While we're at it, we can also tidy up any existing code that causes warnings. This also uncovered a few bugs as well.
2020-02-07hle: services: Use std::shared_ptr instead of copy by value.bunnei
2019-11-28Merge pull request #3169 from lioncash/memorybunnei
core/memory: Deglobalize memory management code
2019-11-27file_sys/directory: Make EntryType an enum classLioncash
This can trivially be an enum class rather than a regular enum, making it more strongly typed.
2019-11-26core: Prepare various classes for memory read/write migrationLioncash
Amends a few interfaces to be able to handle the migration over to the new Memory class by passing the class by reference as a function parameter where necessary. Notably, within the filesystem services, this eliminates two ReadBlock() calls by using the helper functions of HLERequestContext to do that for us.
2019-11-24Merge pull request #3094 from lioncash/tablesbunnei
service: Update function tables
2019-11-12service: Update function tablesLioncash
Keeps the function tables up to date. Updated based off information from Switchbrew.
2019-11-12service: Resolve sign conversion errorsLioncash
These are fairly trivial to resolve and most of the changes entail using RESULT_UNKNOWN over ResultCode(-1).
2019-10-06hle/service: Replace global system instance calls with instance-based onesLioncash
Migrates the HLE service code off the use of directly accessing the global system instance where trivially able to do so. This removes all usages of Core::CurrentProcess from the service code, only 8 occurrences of this function exist elsewhere. There's still quite a bit of "System::GetInstance()" being used, however this was able to replace a few instances.
2019-10-04service/filesystem: Silence -Wunused-variableReinUsesLisp
2019-10-01bcat: Add FSC accessors for BCAT dataZach Hilman
Ports BCAT to use FSC interface
2019-09-30filesystem: Add getter for BCAT temporary directoryZach Hilman
2019-09-21configure_debug: Move reporting option to loggingZach Hilman
2019-09-21filesystem: Add const qualification to various accessorsZach Hilman
2019-09-21yuzu: Port old usages of Filesystem namespace to FilesystemControllerZach Hilman
2019-09-21filesystem: Pass Size Getter functions to IFileSystem for sizesZach Hilman
2019-09-21filesystem: Add FileSystemController to deglobalize FS servicesZach Hilman
2019-06-28fsp-srv: Implement GetAccessLogVersionInfoZach Hilman
Returns some misc. data about logging to help the game determine if it should log.
2019-06-28fsp-srv: Implement OutputAccessLogToSdCardZach Hilman
Allows games to log data to the SD.
2019-04-15Merge pull request #2382 from lioncash/tablebunnei
service: Update service function tables
2019-04-11service: Update service function tablesLioncash
Updates function tables based off information from SwitchBrew.
2019-04-10fsp_srv: Remove unnecessary parameter popping in IDirectory's Read()Lioncash
IDirectory's Read() function doesn't take any input parameters. It only uses the output parameters that we already provide.
2019-04-10fsp_srv: Log out option values in IFile's Read and Write functionsLioncash
These indicate options that alter how a read/write is performed. Currently we don't need to handle these, as the only one that seems to be used is for writes, but all the custom options ever seem to do is immediate flushing, which we already do by default.
2019-04-09Merge pull request #1957 from DarkLordZach/title-providerbunnei
file_sys: Provide generic interface for accessing game data
2019-04-05Merge pull request #2339 from lioncash/rankbunnei
service/fsp_srv: Update SaveDataInfo and SaveDataDescriptor structs
2019-04-05service/fsp_srv: Don't pass SaveDataDescriptor instances by value.Lioncash
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: Remove unnecessary unknown member in OpenSaveDataFileSystemLioncash
The unknown member here is actually padding due to being passed as a struct. We can do the same, and remove the need to pop a padding word.
2019-04-05service/fsp_srv: Update SaveDataInfo and SaveDataDescriptor structsLioncash
I realized that I updated the documentation on SwitchBrew a while ago, but never actually updated the structs within yuzu.