diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2018-08-11 10:35:47 +1000 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2018-08-11 10:35:47 +1000 |
commit | b76ddb7647cbb390cce4143d91a1db171b0fa503 (patch) | |
tree | a6e2e334e82b035923c41458150604dd5fb31d65 /src/core/core.h | |
parent | 2a3b335b156552515e28f62df2617d06c241a29a (diff) | |
parent | 0a003efde4b86c235355d11c93f5d315bdb4728d (diff) |
Merge remote-tracking branch 'origin/master' into better-account
Diffstat (limited to 'src/core/core.h')
-rw-r--r-- | src/core/core.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/core.h b/src/core/core.h index c8ca4b247..7cf7ea4e1 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -17,6 +17,8 @@ #include "core/memory.h" #include "core/perf_stats.h" #include "core/telemetry_session.h" +#include "file_sys/vfs_real.h" +#include "hle/service/filesystem/filesystem.h" #include "video_core/debug_utils/debug_utils.h" #include "video_core/gpu.h" @@ -211,6 +213,14 @@ public: return debug_context; } + void SetFilesystem(FileSys::VirtualFilesystem vfs) { + virtual_filesystem = std::move(vfs); + } + + FileSys::VirtualFilesystem GetFilesystem() const { + return virtual_filesystem; + } + private: System(); @@ -225,6 +235,8 @@ private: */ ResultStatus Init(EmuWindow& emu_window); + /// RealVfsFilesystem instance + FileSys::VirtualFilesystem virtual_filesystem; /// AppLoader used to load the current executing application std::unique_ptr<Loader::AppLoader> app_loader; std::unique_ptr<VideoCore::RendererBase> renderer; |