diff options
author | bunnei <bunneidev@gmail.com> | 2022-09-17 20:11:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-17 20:11:21 +0200 |
commit | 7172339c7a49479d9324f28b97124ea68bb4ebdd (patch) | |
tree | 4fd42726a92adb8ac7eae28ce18afe2549ccd2ee /src/core/hle/service/mii/mii_manager.h | |
parent | Merge pull request #8650 from Kelebek1/vsync (diff) | |
parent | core: nfp: Remove magic numbers (diff) | |
download | yuzu-7172339c7a49479d9324f28b97124ea68bb4ebdd.tar yuzu-7172339c7a49479d9324f28b97124ea68bb4ebdd.tar.gz yuzu-7172339c7a49479d9324f28b97124ea68bb4ebdd.tar.bz2 yuzu-7172339c7a49479d9324f28b97124ea68bb4ebdd.tar.lz yuzu-7172339c7a49479d9324f28b97124ea68bb4ebdd.tar.xz yuzu-7172339c7a49479d9324f28b97124ea68bb4ebdd.tar.zst yuzu-7172339c7a49479d9324f28b97124ea68bb4ebdd.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/mii/mii_manager.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/hle/service/mii/mii_manager.h b/src/core/hle/service/mii/mii_manager.h index 6a286bd96..d847de0bd 100644 --- a/src/core/hle/service/mii/mii_manager.h +++ b/src/core/hle/service/mii/mii_manager.h @@ -19,11 +19,12 @@ public: bool CheckAndResetUpdateCounter(SourceFlag source_flag, u64& current_update_counter); bool IsFullDatabase() const; u32 GetCount(SourceFlag source_flag) const; - ResultVal<MiiInfo> UpdateLatest(const MiiInfo& info, SourceFlag source_flag); - MiiInfo BuildRandom(Age age, Gender gender, Race race); - MiiInfo BuildDefault(std::size_t index); + ResultVal<CharInfo> UpdateLatest(const CharInfo& info, SourceFlag source_flag); + CharInfo BuildRandom(Age age, Gender gender, Race race); + CharInfo BuildDefault(std::size_t index); + CharInfo ConvertV3ToCharInfo(Ver3StoreData mii_v3) const; ResultVal<std::vector<MiiInfoElement>> GetDefault(SourceFlag source_flag); - Result GetIndex(const MiiInfo& info, u32& index); + Result GetIndex(const CharInfo& info, u32& index); private: const Common::UUID user_id{}; |