diff options
author | Lioncash <mathew1800@gmail.com> | 2018-07-19 05:50:04 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-07-19 05:50:07 +0200 |
commit | 88ba94e8a21bc83ed5a3ae3b903b25388985dcff (patch) | |
tree | cc8635bd7ebf9f3971c89647bf53f8074b94f27f /src/core | |
parent | Merge pull request #691 from lioncash/guard (diff) | |
download | yuzu-88ba94e8a21bc83ed5a3ae3b903b25388985dcff.tar yuzu-88ba94e8a21bc83ed5a3ae3b903b25388985dcff.tar.gz yuzu-88ba94e8a21bc83ed5a3ae3b903b25388985dcff.tar.bz2 yuzu-88ba94e8a21bc83ed5a3ae3b903b25388985dcff.tar.lz yuzu-88ba94e8a21bc83ed5a3ae3b903b25388985dcff.tar.xz yuzu-88ba94e8a21bc83ed5a3ae3b903b25388985dcff.tar.zst yuzu-88ba94e8a21bc83ed5a3ae3b903b25388985dcff.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/file_sys/savedata_factory.cpp | 2 | ||||
-rw-r--r-- | src/core/file_sys/savedata_factory.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/file_sys/savedata_factory.cpp b/src/core/file_sys/savedata_factory.cpp index 6a53b2b10..dfdca83d6 100644 --- a/src/core/file_sys/savedata_factory.cpp +++ b/src/core/file_sys/savedata_factory.cpp @@ -11,7 +11,7 @@ namespace FileSys { -std::string SaveDataDescriptor::DebugInfo() { +std::string SaveDataDescriptor::DebugInfo() const { return fmt::format("[type={:02X}, title_id={:016X}, user_id={:016X}{:016X}, save_id={:016X}]", static_cast<u8>(type), title_id, user_id[1], user_id[0], save_id); } diff --git a/src/core/file_sys/savedata_factory.h b/src/core/file_sys/savedata_factory.h index 53c69876f..e3a578c0f 100644 --- a/src/core/file_sys/savedata_factory.h +++ b/src/core/file_sys/savedata_factory.h @@ -37,7 +37,7 @@ struct SaveDataDescriptor { u64_le zero_2; u64_le zero_3; - std::string DebugInfo(); + std::string DebugInfo() const; }; static_assert(sizeof(SaveDataDescriptor) == 0x40, "SaveDataDescriptor has incorrect size."); |