summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2014-12-19 00:05:03 +0100
committerbunnei <bunneidev@gmail.com>2014-12-19 00:05:03 +0100
commit765dbabdb6c70390213c89f4553e16275202a1cb (patch)
treebc7fdb2a9c41f71ae81a570aaf9340712e5836ef
parentMerge pull request #304 from lioncash/sflags (diff)
parentSystemSaveData: Fixed a typo that was segfaulting (diff)
downloadyuzu-765dbabdb6c70390213c89f4553e16275202a1cb.tar
yuzu-765dbabdb6c70390213c89f4553e16275202a1cb.tar.gz
yuzu-765dbabdb6c70390213c89f4553e16275202a1cb.tar.bz2
yuzu-765dbabdb6c70390213c89f4553e16275202a1cb.tar.lz
yuzu-765dbabdb6c70390213c89f4553e16275202a1cb.tar.xz
yuzu-765dbabdb6c70390213c89f4553e16275202a1cb.tar.zst
yuzu-765dbabdb6c70390213c89f4553e16275202a1cb.zip
-rw-r--r--src/core/hle/service/fs/archive.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/fs/archive.cpp b/src/core/hle/service/fs/archive.cpp
index d06f955d4..5ab82729c 100644
--- a/src/core/hle/service/fs/archive.cpp
+++ b/src/core/hle/service/fs/archive.cpp
@@ -423,7 +423,7 @@ void ArchiveInit() {
std::string systemsavedata_directory = FileUtil::GetUserPath(D_SYSSAVEDATA_IDX);
auto systemsavedata_archive = std::make_unique<FileSys::Archive_SDMC>(systemsavedata_directory);
if (systemsavedata_archive->Initialize()) {
- CreateArchive(std::move(sdmc_archive), ArchiveIdCode::SystemSaveData);
+ CreateArchive(std::move(systemsavedata_archive), ArchiveIdCode::SystemSaveData);
} else {
LOG_ERROR(Service_FS, "Can't instantiate SystemSaveData archive with path %s",
systemsavedata_directory.c_str());