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/hle | |
| 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/hle')
| -rw-r--r-- | src/core/hle/service/filesystem/filesystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/filesystem/filesystem.cpp b/src/core/hle/service/filesystem/filesystem.cpp index 2cee1193c..54a5fb84b 100644 --- a/src/core/hle/service/filesystem/filesystem.cpp +++ b/src/core/hle/service/filesystem/filesystem.cpp | |||
| @@ -379,7 +379,7 @@ ResultVal<FileSys::VirtualFile> FileSystemController::OpenBISPartitionStorage( | |||
| 379 | return FileSys::ERROR_ENTITY_NOT_FOUND; | 379 | return FileSys::ERROR_ENTITY_NOT_FOUND; |
| 380 | } | 380 | } |
| 381 | 381 | ||
| 382 | auto part = bis_factory->OpenPartitionStorage(id); | 382 | auto part = bis_factory->OpenPartitionStorage(id, system.GetFilesystem()); |
| 383 | if (part == nullptr) { | 383 | if (part == nullptr) { |
| 384 | return FileSys::ERROR_INVALID_ARGUMENT; | 384 | return FileSys::ERROR_INVALID_ARGUMENT; |
| 385 | } | 385 | } |