aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/archive_savedata.cpp
diff options
context:
space:
mode:
authorSebastian Valle <subv2112@gmail.com>2016-11-27 18:56:56 -0500
committerGitHub <noreply@github.com>2016-11-27 18:56:56 -0500
commit4ba5acdaff19f5334b86e86c324763d4e9b969b0 (patch)
tree408343a46858bcde292744d89fc6b3dadd9a54b0 /src/core/file_sys/archive_savedata.cpp
parent77b7cec8afcaf9c267c8dbae49e123d980a32e73 (diff)
parent282195b450721a5b8ad0cea8e66606b2661fe888 (diff)
Merge pull request #2132 from wwylele/fix-fs-err
Correct FS error codes & add path boundary checks
Diffstat (limited to 'src/core/file_sys/archive_savedata.cpp')
-rw-r--r--src/core/file_sys/archive_savedata.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/file_sys/archive_savedata.cpp b/src/core/file_sys/archive_savedata.cpp
index 6711035ec..ecb44a215 100644
--- a/src/core/file_sys/archive_savedata.cpp
+++ b/src/core/file_sys/archive_savedata.cpp
@@ -9,7 +9,7 @@
#include "common/logging/log.h"
#include "common/string_util.h"
#include "core/file_sys/archive_savedata.h"
-#include "core/file_sys/disk_archive.h"
+#include "core/file_sys/savedata_archive.h"
#include "core/hle/kernel/process.h"
#include "core/hle/service/fs/archive.h"
@@ -54,7 +54,7 @@ ResultVal<std::unique_ptr<ArchiveBackend>> ArchiveFactory_SaveData::Open(const P
ErrorSummary::InvalidState, ErrorLevel::Status);
}
- auto archive = std::make_unique<DiskArchive>(std::move(concrete_mount_point));
+ auto archive = std::make_unique<SaveDataArchive>(std::move(concrete_mount_point));
return MakeResult<std::unique_ptr<ArchiveBackend>>(std::move(archive));
}