diff options
| author | 2020-09-16 23:43:30 +0000 | |
|---|---|---|
| committer | 2020-09-16 23:43:30 +0000 | |
| commit | 62de0220fe8e5e5de26ee96c43a110faea0dc71e (patch) | |
| tree | 988f711352f4ec0bd56bd4a517a8b2b628fcb9f9 /src/core/core.cpp | |
| parent | Merge pull request #4661 from lioncash/system-loader (diff) | |
| parent | file_sys/romfs_factory: Eliminate usage of the global system accessor (diff) | |
| download | yuzu-62de0220fe8e5e5de26ee96c43a110faea0dc71e.tar.gz yuzu-62de0220fe8e5e5de26ee96c43a110faea0dc71e.tar.xz yuzu-62de0220fe8e5e5de26ee96c43a110faea0dc71e.zip | |
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 05b1d2b92..44aaba242 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp | |||
| @@ -629,11 +629,11 @@ Loader::AppLoader& System::GetAppLoader() const { | |||
| 629 | return *impl->app_loader; | 629 | return *impl->app_loader; |
| 630 | } | 630 | } |
| 631 | 631 | ||
| 632 | void System::SetFilesystem(std::shared_ptr<FileSys::VfsFilesystem> vfs) { | 632 | void System::SetFilesystem(FileSys::VirtualFilesystem vfs) { |
| 633 | impl->virtual_filesystem = std::move(vfs); | 633 | impl->virtual_filesystem = std::move(vfs); |
| 634 | } | 634 | } |
| 635 | 635 | ||
| 636 | std::shared_ptr<FileSys::VfsFilesystem> System::GetFilesystem() const { | 636 | FileSys::VirtualFilesystem System::GetFilesystem() const { |
| 637 | return impl->virtual_filesystem; | 637 | return impl->virtual_filesystem; |
| 638 | } | 638 | } |
| 639 | 639 | ||