summaryrefslogtreecommitdiff
path: root/src/core/file_sys
diff options
context:
space:
mode:
authorGravatar Subv2014-12-19 15:30:25 -0500
committerGravatar Subv2014-12-21 16:38:59 -0500
commit4cd21b43c1e28933898c4a2e829555efe22ff12e (patch)
treebff4da5013682afa238f56efdc6ffd0ff9e827bf /src/core/file_sys
parentCFG:U: Add some data to the 0x00050005 config block. (diff)
downloadyuzu-4cd21b43c1e28933898c4a2e829555efe22ff12e.tar.gz
yuzu-4cd21b43c1e28933898c4a2e829555efe22ff12e.tar.xz
yuzu-4cd21b43c1e28933898c4a2e829555efe22ff12e.zip
CFG: Refactored how the config file works.
It is now kept in memory as per 3dbrew, all updates happen on memory, then they can be saved using UpdateConfigNANDSavegame.
Diffstat (limited to 'src/core/file_sys')
-rw-r--r--src/core/file_sys/archive_systemsavedata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/archive_systemsavedata.cpp b/src/core/file_sys/archive_systemsavedata.cpp
index 392c3cd39..b942864b2 100644
--- a/src/core/file_sys/archive_systemsavedata.cpp
+++ b/src/core/file_sys/archive_systemsavedata.cpp
@@ -18,7 +18,7 @@ namespace FileSys {
18 18
19Archive_SystemSaveData::Archive_SystemSaveData(const std::string& mount_point, u64 save_id) 19Archive_SystemSaveData::Archive_SystemSaveData(const std::string& mount_point, u64 save_id)
20 : DiskArchive(Common::StringFromFormat("%s%08X/%08X/", mount_point.c_str(), 20 : DiskArchive(Common::StringFromFormat("%s%08X/%08X/", mount_point.c_str(),
21 static_cast<u32>(save_id & 0xFFFFFFFF), static_cast<u32>((save_id >> 31) & 0xFFFFFFFF))) { 21 static_cast<u32>(save_id & 0xFFFFFFFF), static_cast<u32>((save_id >> 32) & 0xFFFFFFFF))) {
22 LOG_INFO(Service_FS, "Directory %s set as SystemSaveData.", this->mount_point.c_str()); 22 LOG_INFO(Service_FS, "Directory %s set as SystemSaveData.", this->mount_point.c_str());
23} 23}
24 24