diff options
| author | bunnei <bunneidev@gmail.com> | 2018-01-20 21:32:36 -0500 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2018-01-21 15:51:43 -0500 |
| commit | 8e50d6002bd12dde7e4ba4fd3da1b53864c4058c (patch) | |
| tree | be6d0f47d8418a61a8e6f86ce0dcdbecf801bebd /src/core/hle/service/filesystem/fsp_srv.h | |
| parent | d9a91d76785da6d0fa32ce32417e12023c8f394e (diff) | |
fsp_srv: Various improvements to IStorage:Read implementation.
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 |
