diff options
| author | 2020-09-16 18:14:43 -0400 | |
|---|---|---|
| committer | 2020-09-16 18:16:04 -0400 | |
| commit | 0e80567bef380843f5fc9bc00b70f14c4bd577b1 (patch) | |
| tree | 552dc5595866d8ab498dd879a3664f4bad60ac31 /src/core/core.cpp | |
| parent | loader/nso: Remove unnecessary [[maybe_unused]] (diff) | |
| download | yuzu-0e80567bef380843f5fc9bc00b70f14c4bd577b1.tar.gz yuzu-0e80567bef380843f5fc9bc00b70f14c4bd577b1.tar.xz yuzu-0e80567bef380843f5fc9bc00b70f14c4bd577b1.zip | |
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 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 | ||