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 | 27de4bdf638270e911b93ada71f466953ef945f9 (patch) | |
| tree | 988f711352f4ec0bd56bd4a517a8b2b628fcb9f9 /src/core/core.cpp | |
| parent | 40d901d99e1c2b923233c84e248be7f5e099e594 (diff) | |
| parent | 7824da596111c9ecda73d4b340a54d188b468fc3 (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; } |
