aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/service/fs/archive.cpp
diff options
context:
space:
mode:
authorGravatar Subv <subv2112@gmail.com>2014-12-18 18:01:47 -0500
committerGravatar Subv <subv2112@gmail.com>2014-12-18 18:01:47 -0500
commit78e0f3685730ed898346fc03676a1021ea762e07 (patch)
treee22014cf46ea129c1e0ba2b4dda96e554216bb04 /src/core/hle/service/fs/archive.cpp
parentf9472eda0a0ea0d8d063cddad352affeb87890b9 (diff)
SystemSaveData: Fixed a typo that was segfaulting
Diffstat (limited to 'src/core/hle/service/fs/archive.cpp')
-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 d06f955d..5ab82729 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());