diff options
author | Lioncash <mathew1800@gmail.com> | 2020-09-16 18:14:43 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-09-16 18:16:04 -0400 |
commit | 0e80567bef380843f5fc9bc00b70f14c4bd577b1 (patch) | |
tree | 552dc5595866d8ab498dd879a3664f4bad60ac31 /src/core/core.cpp | |
parent | aa8d6fc0416164f89dde7cec6d15192e31f570f3 (diff) |
file_sys/bis_factory: Eliminate usage of the global system accessor
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r-- | src/core/core.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index 05b1d2b924..44aaba2424 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -629,11 +629,11 @@ Loader::AppLoader& System::GetAppLoader() const { return *impl->app_loader; } -void System::SetFilesystem(std::shared_ptr<FileSys::VfsFilesystem> vfs) { +void System::SetFilesystem(FileSys::VirtualFilesystem vfs) { impl->virtual_filesystem = std::move(vfs); } -std::shared_ptr<FileSys::VfsFilesystem> System::GetFilesystem() const { +FileSys::VirtualFilesystem System::GetFilesystem() const { return impl->virtual_filesystem; } |