diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-08-03 17:51:48 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-08-09 03:18:45 +0200 |
commit | 4b471f0554146463f3b82eed14ff3922a5584e9f (patch) | |
tree | 677b35914dd914343700be24a1e4098db292615c /src/core/core.h | |
parent | vfs: Add unreachable assert to file permissions converter (diff) | |
download | yuzu-4b471f0554146463f3b82eed14ff3922a5584e9f.tar yuzu-4b471f0554146463f3b82eed14ff3922a5584e9f.tar.gz yuzu-4b471f0554146463f3b82eed14ff3922a5584e9f.tar.bz2 yuzu-4b471f0554146463f3b82eed14ff3922a5584e9f.tar.lz yuzu-4b471f0554146463f3b82eed14ff3922a5584e9f.tar.xz yuzu-4b471f0554146463f3b82eed14ff3922a5584e9f.tar.zst yuzu-4b471f0554146463f3b82eed14ff3922a5584e9f.zip |
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; |