summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/mii/types/raw_data.h
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2023-09-12 01:12:51 +0200
committergerman77 <juangerman-13@hotmail.com>2023-09-12 06:07:55 +0200
commit4d138b760b1eb09ee59dca40dba86112e3c8a39d (patch)
tree4fd79a542ac74328c907540e7593eb44d95db947 /src/core/hle/service/mii/types/raw_data.h
parentmii: service: Address review (diff)
downloadyuzu-4d138b760b1eb09ee59dca40dba86112e3c8a39d.tar
yuzu-4d138b760b1eb09ee59dca40dba86112e3c8a39d.tar.gz
yuzu-4d138b760b1eb09ee59dca40dba86112e3c8a39d.tar.bz2
yuzu-4d138b760b1eb09ee59dca40dba86112e3c8a39d.tar.lz
yuzu-4d138b760b1eb09ee59dca40dba86112e3c8a39d.tar.xz
yuzu-4d138b760b1eb09ee59dca40dba86112e3c8a39d.tar.zst
yuzu-4d138b760b1eb09ee59dca40dba86112e3c8a39d.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/mii/types/raw_data.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/core/hle/service/mii/types/raw_data.h b/src/core/hle/service/mii/types/raw_data.h
index 8c910096f..9a4cfa738 100644
--- a/src/core/hle/service/mii/types/raw_data.h
+++ b/src/core/hle/service/mii/types/raw_data.h
@@ -15,9 +15,9 @@ struct RandomMiiValues {
static_assert(sizeof(RandomMiiValues) == 0xbc, "RandomMiiValues has incorrect size.");
struct RandomMiiData4 {
- Gender gender{};
- Age age{};
- Race race{};
+ u32 gender{};
+ u32 age{};
+ u32 race{};
u32 values_count{};
std::array<u32, 47> values{};
};
@@ -64,10 +64,10 @@ u8 FromVer3GetMouthlineColor(u8 color);
u8 FromVer3GetGlassColor(u8 color);
u8 FromVer3GetGlassType(u8 type);
-u8 GetFacelineColorFromVer3(u8 color);
-u8 GetHairColorFromVer3(u32 color);
-u8 GetEyeColorFromVer3(u32 color);
-u8 GetMouthColorFromVer3(u32 color);
-u8 GetGlassColorFromVer3(u8 color);
+FacelineColor GetFacelineColorFromVer3(u32 color);
+CommonColor GetHairColorFromVer3(u32 color);
+CommonColor GetEyeColorFromVer3(u32 color);
+CommonColor GetMouthColorFromVer3(u32 color);
+CommonColor GetGlassColorFromVer3(u32 color);
} // namespace Service::Mii::RawData