summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/cfg
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2015-01-04 02:46:05 +0100
committerSubv <subv2112@gmail.com>2015-01-04 02:46:05 +0100
commit71a063f45cba961ee07730f4ab79f2bcc3ff9b5b (patch)
tree3c134bc71fd404b33a6d6fcaed743457d7fb7e66 /src/core/hle/service/cfg
parentSaveDataCheck: Move the files to nand/title (diff)
downloadyuzu-71a063f45cba961ee07730f4ab79f2bcc3ff9b5b.tar
yuzu-71a063f45cba961ee07730f4ab79f2bcc3ff9b5b.tar.gz
yuzu-71a063f45cba961ee07730f4ab79f2bcc3ff9b5b.tar.bz2
yuzu-71a063f45cba961ee07730f4ab79f2bcc3ff9b5b.tar.lz
yuzu-71a063f45cba961ee07730f4ab79f2bcc3ff9b5b.tar.xz
yuzu-71a063f45cba961ee07730f4ab79f2bcc3ff9b5b.tar.zst
yuzu-71a063f45cba961ee07730f4ab79f2bcc3ff9b5b.zip
Diffstat (limited to 'src/core/hle/service/cfg')
-rw-r--r--src/core/hle/service/cfg/cfg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/cfg/cfg.cpp b/src/core/hle/service/cfg/cfg.cpp
index 161aa8531..8812c49ef 100644
--- a/src/core/hle/service/cfg/cfg.cpp
+++ b/src/core/hle/service/cfg/cfg.cpp
@@ -161,9 +161,9 @@ ResultCode FormatConfig() {
void CFGInit() {
// 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);
+ std::string nand_directory = FileUtil::GetUserPath(D_NAND_IDX);
cfg_system_save_data = Common::make_unique<FileSys::Archive_SystemSaveData>(
- syssavedata_directory, CFG_SAVE_ID);
+ nand_directory, CFG_SAVE_ID);
if (!cfg_system_save_data->Initialize()) {
LOG_CRITICAL(Service_CFG, "Could not initialize SystemSaveData archive for the CFG:U service");
return;