am: Implement GetSaveDataSize and ExtendSaveData
These functions come in a pair and are needed by Smash Ultimate, Minecraft, and Skyrim, amongst others.
This commit is contained in:
parent
2e6b67a079
commit
c643f364b4
6 changed files with 53 additions and 8 deletions
|
@ -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);
|
||||
|
|
|
@ -100,7 +100,7 @@ public:
|
|||
std::vector<u8> GetRawBytes() const;
|
||||
|
||||
private:
|
||||
RawNACP raw;
|
||||
RawNACP raw{};
|
||||
};
|
||||
|
||||
} // namespace FileSys
|
||||
|
|
|
@ -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}]",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue