summaryrefslogtreecommitdiff
path: root/src/yuzu/main.cpp
diff options
context:
space:
mode:
authorChloe <25727384+ogniK5377@users.noreply.github.com>2020-11-28 02:33:42 +1100
committerGitHub <noreply@github.com>2020-11-28 02:33:42 +1100
commitf397edff0ea6711bac15cfe47a0157e9b790b8bb (patch)
treea12109a226823b444d7261f25e256777af6b93e4 /src/yuzu/main.cpp
parentee5e77fbf97da699e5ded623c12cad56dd7ce0da (diff)
parent073e07ae2d0eab9dfdcc4f5b3ea79f4f810dd081 (diff)
Merge pull request #5023 from lioncash/save-global
savedata_factory: Eliminate usage of the global system instance
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r--src/yuzu/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 805619ccf..07fa85741 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -1342,12 +1342,12 @@ void GMainWindow::OnGameListOpenFolder(u64 program_id, GameListOpenTarget target
const auto user_id = manager.GetUser(static_cast<std::size_t>(index));
ASSERT(user_id);
path = nand_dir + FileSys::SaveDataFactory::GetFullPath(
- FileSys::SaveDataSpaceId::NandUser,
+ system, FileSys::SaveDataSpaceId::NandUser,
FileSys::SaveDataType::SaveData, program_id, user_id->uuid, 0);
} else {
// Device save data
path = nand_dir + FileSys::SaveDataFactory::GetFullPath(
- FileSys::SaveDataSpaceId::NandUser,
+ system, FileSys::SaveDataSpaceId::NandUser,
FileSys::SaveDataType::SaveData, program_id, {}, 0);
}