diff options
author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2020-09-16 23:43:30 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-16 23:43:30 +0000 |
commit | 62de0220fe8e5e5de26ee96c43a110faea0dc71e (patch) | |
tree | 988f711352f4ec0bd56bd4a517a8b2b628fcb9f9 /src/core/core.cpp | |
parent | b0ae8265ea0aea16bfe37dce96cc3f758fd35feb (diff) | |
parent | a62c1999c520f88513d9b0cf6e3a5c3a548d51ac (diff) |
Merge pull request #4662 from lioncash/factory
bis_factory/romfs_factory: Eliminate dependencies on the global system instance
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; } |