summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2014-12-20 22:47:47 +0100
committerSubv <subv2112@gmail.com>2014-12-21 22:39:17 +0100
commita7cc7972de3401ed2ccc5002272695f098b4955f (patch)
tree29c895a4cc3369a6491e98b9d74affc0df4af749 /src
parentCFG:U: Implemented some more blocks (diff)
downloadyuzu-a7cc7972de3401ed2ccc5002272695f098b4955f.tar
yuzu-a7cc7972de3401ed2ccc5002272695f098b4955f.tar.gz
yuzu-a7cc7972de3401ed2ccc5002272695f098b4955f.tar.bz2
yuzu-a7cc7972de3401ed2ccc5002272695f098b4955f.tar.lz
yuzu-a7cc7972de3401ed2ccc5002272695f098b4955f.tar.xz
yuzu-a7cc7972de3401ed2ccc5002272695f098b4955f.tar.zst
yuzu-a7cc7972de3401ed2ccc5002272695f098b4955f.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/cfg_u.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/cfg_u.cpp b/src/core/hle/service/cfg_u.cpp
index 0e56f1245..5d21fcae8 100644
--- a/src/core/hle/service/cfg_u.cpp
+++ b/src/core/hle/service/cfg_u.cpp
@@ -4,6 +4,7 @@
#include "common/file_util.h"
#include "common/log.h"
+#include "common/make_unique.h"
#include "common/string_util.h"
#include "core/file_sys/archive_systemsavedata.h"
#include "core/hle/hle.h"
@@ -399,7 +400,7 @@ Interface::Interface() {
// TODO(Subv): In the future we should use the FS service to query this archive,
// currently it is not possible because you can only have one open archive of the same type at any time
std::string syssavedata_directory = FileUtil::GetUserPath(D_SYSSAVEDATA_IDX);
- cfg_system_save_data = std::make_unique<FileSys::Archive_SystemSaveData>(syssavedata_directory,
+ cfg_system_save_data = Common::make_unique<FileSys::Archive_SystemSaveData>(syssavedata_directory,
CFG_SAVE_ID);
if (!cfg_system_save_data->Initialize()) {
LOG_CRITICAL(Service_CFG, "Could not initialize SystemSaveData archive for the CFG:U service");