summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/mii/mii_manager.h
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2023-03-15 08:39:11 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2023-03-16 00:01:05 +0100
commit5031f5b8b07dcabf727cf5530f2e00c396de7ea0 (patch)
treebd52aef22b9f4675b75676ef4f1bf50419c997ce /src/core/hle/service/mii/mii_manager.h
parentservice: nfp: Actually write correct crc (diff)
downloadyuzu-5031f5b8b07dcabf727cf5530f2e00c396de7ea0.tar
yuzu-5031f5b8b07dcabf727cf5530f2e00c396de7ea0.tar.gz
yuzu-5031f5b8b07dcabf727cf5530f2e00c396de7ea0.tar.bz2
yuzu-5031f5b8b07dcabf727cf5530f2e00c396de7ea0.tar.lz
yuzu-5031f5b8b07dcabf727cf5530f2e00c396de7ea0.tar.xz
yuzu-5031f5b8b07dcabf727cf5530f2e00c396de7ea0.tar.zst
yuzu-5031f5b8b07dcabf727cf5530f2e00c396de7ea0.zip
Diffstat (limited to 'src/core/hle/service/mii/mii_manager.h')
-rw-r--r--src/core/hle/service/mii/mii_manager.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/hle/service/mii/mii_manager.h b/src/core/hle/service/mii/mii_manager.h
index 83ad3d343..5525fcd1c 100644
--- a/src/core/hle/service/mii/mii_manager.h
+++ b/src/core/hle/service/mii/mii_manager.h
@@ -23,11 +23,16 @@ public:
CharInfo BuildRandom(Age age, Gender gender, Race race);
CharInfo BuildDefault(std::size_t index);
CharInfo ConvertV3ToCharInfo(const Ver3StoreData& mii_v3) const;
- Ver3StoreData ConvertCharInfoToV3(const CharInfo& mii) const;
bool ValidateV3Info(const Ver3StoreData& mii_v3) const;
ResultVal<std::vector<MiiInfoElement>> GetDefault(SourceFlag source_flag);
Result GetIndex(const CharInfo& info, u32& index);
+ // This is nn::mii::detail::Ver::StoreDataRaw::BuildFromStoreData
+ Ver3StoreData BuildFromStoreData(const CharInfo& mii) const;
+
+ // This is nn::mii::detail::NfpStoreDataExtentionRaw::SetFromStoreData
+ NfpStoreDataExtension SetFromStoreData(const CharInfo& mii) const;
+
private:
const Common::UUID user_id{};
u64 update_counter{};