diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2023-03-15 05:00:38 +0100 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2023-03-15 06:42:41 +0100 |
commit | 026fe2e4f4128f4c81a07e25cb646620f7643a75 (patch) | |
tree | f370c2ce9b622ce4571c37d5d0e16f6bd07a0984 /src/core/hle/service/mii/mii_manager.cpp | |
parent | Merge pull request #9933 from vonchenplus/texture_format (diff) | |
download | yuzu-026fe2e4f4128f4c81a07e25cb646620f7643a75.tar yuzu-026fe2e4f4128f4c81a07e25cb646620f7643a75.tar.gz yuzu-026fe2e4f4128f4c81a07e25cb646620f7643a75.tar.bz2 yuzu-026fe2e4f4128f4c81a07e25cb646620f7643a75.tar.lz yuzu-026fe2e4f4128f4c81a07e25cb646620f7643a75.tar.xz yuzu-026fe2e4f4128f4c81a07e25cb646620f7643a75.tar.zst yuzu-026fe2e4f4128f4c81a07e25cb646620f7643a75.zip |
Diffstat (limited to 'src/core/hle/service/mii/mii_manager.cpp')
-rw-r--r-- | src/core/hle/service/mii/mii_manager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/service/mii/mii_manager.cpp b/src/core/hle/service/mii/mii_manager.cpp index 3a2fe938f..9d31a080c 100644 --- a/src/core/hle/service/mii/mii_manager.cpp +++ b/src/core/hle/service/mii/mii_manager.cpp @@ -585,6 +585,8 @@ Ver3StoreData MiiManager::ConvertCharInfoToV3(const CharInfo& mii) const { mii_v3.appearance_bits11.mole_x_position.Assign(mii.mole_x); mii_v3.appearance_bits11.mole_y_position.Assign(mii.mole_y); + mii_v3.crc = GenerateCrc16(&mii_v3, sizeof(Ver3StoreData) - sizeof(u16)); + // TODO: Validate mii_v3 data return mii_v3; |