From 0e80567bef380843f5fc9bc00b70f14c4bd577b1 Mon Sep 17 00:00:00 2001 From: Lioncash <mathew1800@gmail.com> Date: Wed, 16 Sep 2020 18:14:43 -0400 Subject: file_sys/bis_factory: Eliminate usage of the global system accessor --- src/core/core.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/core.cpp') 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; } -- cgit v1.2.3-70-g09d2