diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-12-11 04:17:45 +0100 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-12-27 06:18:00 +0100 |
commit | c643f364b4c81543782009ce4bb5a87021fe35ed (patch) | |
tree | 9ef68f80306b0bfbd17e84e70c44f3656c057fc5 /src/core/file_sys | |
parent | filesystem: Populate save data sizes from control data (diff) | |
download | yuzu-c643f364b4c81543782009ce4bb5a87021fe35ed.tar yuzu-c643f364b4c81543782009ce4bb5a87021fe35ed.tar.gz yuzu-c643f364b4c81543782009ce4bb5a87021fe35ed.tar.bz2 yuzu-c643f364b4c81543782009ce4bb5a87021fe35ed.tar.lz yuzu-c643f364b4c81543782009ce4bb5a87021fe35ed.tar.xz yuzu-c643f364b4c81543782009ce4bb5a87021fe35ed.tar.zst yuzu-c643f364b4c81543782009ce4bb5a87021fe35ed.zip |
Diffstat (limited to 'src/core/file_sys')
-rw-r--r-- | src/core/file_sys/control_metadata.cpp | 2 | ||||
-rw-r--r-- | src/core/file_sys/control_metadata.h | 2 | ||||
-rw-r--r-- | src/core/file_sys/savedata_factory.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/core/file_sys/control_metadata.cpp b/src/core/file_sys/control_metadata.cpp index 9624df054..83c184750 100644 --- a/src/core/file_sys/control_metadata.cpp +++ b/src/core/file_sys/control_metadata.cpp @@ -36,7 +36,7 @@ std::string LanguageEntry::GetDeveloperName() const { developer_name.size()); } -NACP::NACP() : raw{} {} +NACP::NACP() = default; NACP::NACP(VirtualFile file) { file->ReadObject(&raw); diff --git a/src/core/file_sys/control_metadata.h b/src/core/file_sys/control_metadata.h index 9bc2720c9..7b9cdc910 100644 --- a/src/core/file_sys/control_metadata.h +++ b/src/core/file_sys/control_metadata.h @@ -100,7 +100,7 @@ public: std::vector<u8> GetRawBytes() const; private: - RawNACP raw; + RawNACP raw{}; }; } // namespace FileSys diff --git a/src/core/file_sys/savedata_factory.cpp b/src/core/file_sys/savedata_factory.cpp index 54f5b698a..1913dc956 100644 --- a/src/core/file_sys/savedata_factory.cpp +++ b/src/core/file_sys/savedata_factory.cpp @@ -13,7 +13,7 @@ namespace FileSys { -constexpr const char* SAVE_DATA_SIZE_FILENAME = ".yuzu_save_size"; +constexpr char SAVE_DATA_SIZE_FILENAME[] = ".yuzu_save_size"; std::string SaveDataDescriptor::DebugInfo() const { return fmt::format("[type={:02X}, title_id={:016X}, user_id={:016X}{:016X}, save_id={:016X}]", |