diff options
author | FearlessTobi <thm.frey@gmail.com> | 2024-01-05 05:23:58 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-01-25 22:40:42 +0100 |
commit | 06fb7f90da0b465e723a562134c12b513aa77dff (patch) | |
tree | a256bbe22aa4c2a6704f41eb22b3d2cfba0fed72 /src/core/hle/service/filesystem/fsp_srv.h | |
parent | Merge pull request #12759 from liamwhite/mp-misc (diff) | |
download | yuzu-06fb7f90da0b465e723a562134c12b513aa77dff.tar yuzu-06fb7f90da0b465e723a562134c12b513aa77dff.tar.gz yuzu-06fb7f90da0b465e723a562134c12b513aa77dff.tar.bz2 yuzu-06fb7f90da0b465e723a562134c12b513aa77dff.tar.lz yuzu-06fb7f90da0b465e723a562134c12b513aa77dff.tar.xz yuzu-06fb7f90da0b465e723a562134c12b513aa77dff.tar.zst yuzu-06fb7f90da0b465e723a562134c12b513aa77dff.zip |
Diffstat (limited to 'src/core/hle/service/filesystem/fsp_srv.h')
-rw-r--r-- | src/core/hle/service/filesystem/fsp_srv.h | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/src/core/hle/service/filesystem/fsp_srv.h b/src/core/hle/service/filesystem/fsp_srv.h deleted file mode 100644 index 26980af99..000000000 --- a/src/core/hle/service/filesystem/fsp_srv.h +++ /dev/null @@ -1,78 +0,0 @@ -// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -#include <memory> -#include "core/hle/service/service.h" - -namespace Core { -class Reporter; -} - -namespace FileSys { -class ContentProvider; -class FileSystemBackend; -} // namespace FileSys - -namespace Service::FileSystem { - -class RomFsController; -class SaveDataController; - -enum class AccessLogVersion : u32 { - V7_0_0 = 2, - - Latest = V7_0_0, -}; - -enum class AccessLogMode : u32 { - None, - Log, - SdCard, -}; - -class FSP_SRV final : public ServiceFramework<FSP_SRV> { -public: - explicit FSP_SRV(Core::System& system_); - ~FSP_SRV() override; - -private: - void SetCurrentProcess(HLERequestContext& ctx); - void OpenFileSystemWithPatch(HLERequestContext& ctx); - void OpenSdCardFileSystem(HLERequestContext& ctx); - void CreateSaveDataFileSystem(HLERequestContext& ctx); - void CreateSaveDataFileSystemBySystemSaveDataId(HLERequestContext& ctx); - void OpenSaveDataFileSystem(HLERequestContext& ctx); - void OpenSaveDataFileSystemBySystemSaveDataId(HLERequestContext& ctx); - void OpenReadOnlySaveDataFileSystem(HLERequestContext& ctx); - void OpenSaveDataInfoReaderBySaveDataSpaceId(HLERequestContext& ctx); - void OpenSaveDataInfoReaderOnlyCacheStorage(HLERequestContext& ctx); - void WriteSaveDataFileSystemExtraDataBySaveDataAttribute(HLERequestContext& ctx); - void ReadSaveDataFileSystemExtraDataWithMaskBySaveDataAttribute(HLERequestContext& ctx); - void OpenDataStorageByCurrentProcess(HLERequestContext& ctx); - void OpenDataStorageByDataId(HLERequestContext& ctx); - void OpenPatchDataStorageByCurrentProcess(HLERequestContext& ctx); - void OpenDataStorageWithProgramIndex(HLERequestContext& ctx); - void DisableAutoSaveDataCreation(HLERequestContext& ctx); - void SetGlobalAccessLogMode(HLERequestContext& ctx); - void GetGlobalAccessLogMode(HLERequestContext& ctx); - void OutputAccessLogToSdCard(HLERequestContext& ctx); - void GetProgramIndexForAccessLog(HLERequestContext& ctx); - void OpenMultiCommitManager(HLERequestContext& ctx); - void GetCacheStorageSize(HLERequestContext& ctx); - - FileSystemController& fsc; - const FileSys::ContentProvider& content_provider; - const Core::Reporter& reporter; - - FileSys::VirtualFile romfs; - u64 current_process_id = 0; - u32 access_log_program_index = 0; - AccessLogMode access_log_mode = AccessLogMode::None; - u64 program_id = 0; - std::shared_ptr<SaveDataController> save_data_controller; - std::shared_ptr<RomFsController> romfs_controller; -}; - -} // namespace Service::FileSystem |