diff options
Diffstat (limited to 'src/core/hle/service/filesystem/fsp_srv.h')
-rw-r--r-- | src/core/hle/service/filesystem/fsp_srv.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/core/hle/service/filesystem/fsp_srv.h b/src/core/hle/service/filesystem/fsp_srv.h index b41ba6bd1..15be8edc1 100644 --- a/src/core/hle/service/filesystem/fsp_srv.h +++ b/src/core/hle/service/filesystem/fsp_srv.h @@ -4,22 +4,31 @@ #pragma once +#include <memory> #include "core/hle/service/service.h" +namespace FileSys { +class FileSystemBackend; +} + namespace Service { namespace FileSystem { class FSP_SRV final : public ServiceFramework<FSP_SRV> { public: - FSP_SRV(); + explicit FSP_SRV(); ~FSP_SRV() = default; private: + void TryLoadRomFS(); + void Initalize(Kernel::HLERequestContext& ctx); void GetGlobalAccessLogMode(Kernel::HLERequestContext& ctx); void OpenDataStorageByCurrentProcess(Kernel::HLERequestContext& ctx); void OpenRomStorage(Kernel::HLERequestContext& ctx); + + std::unique_ptr<FileSys::FileSystemBackend> romfs; }; -} // namespace Filesystem +} // namespace FileSystem } // namespace Service |