aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/service/cfg
diff options
context:
space:
mode:
authorGravatar bunnei <bunneidev@gmail.com>2015-01-06 20:13:56 -0500
committerGravatar bunnei <bunneidev@gmail.com>2015-01-06 20:13:56 -0500
commit088863c9219df896b316244ad05452ef05b15ea4 (patch)
tree66892c6362d7aae93b9349285234762e4e6ee189 /src/core/hle/service/cfg
parent0bf5a0bfc47cebb64dc2740c475a631d6fb13a2f (diff)
parent8fbe5d2dcaa0f9330120210f5e009cb387cb4a0f (diff)
Merge pull request #376 from Subv/arc_reorder
Archives: Change the folder layout of some archives.
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 161aa853..8812c49e 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;