summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-10-19 22:54:05 +0200
committerGitHub <noreply@github.com>2023-10-19 22:54:05 +0200
commit85a89ca3e3bb6c0a12e954ddaa4e13f593d18500 (patch)
tree8484a813d02a91efdabc0773ef03eff8886dd827 /src/core/hle
parentMerge pull request #11810 from liamwhite/clang-17 (diff)
parentservice: mii: Create random mii with name (diff)
downloadyuzu-85a89ca3e3bb6c0a12e954ddaa4e13f593d18500.tar
yuzu-85a89ca3e3bb6c0a12e954ddaa4e13f593d18500.tar.gz
yuzu-85a89ca3e3bb6c0a12e954ddaa4e13f593d18500.tar.bz2
yuzu-85a89ca3e3bb6c0a12e954ddaa4e13f593d18500.tar.lz
yuzu-85a89ca3e3bb6c0a12e954ddaa4e13f593d18500.tar.xz
yuzu-85a89ca3e3bb6c0a12e954ddaa4e13f593d18500.tar.zst
yuzu-85a89ca3e3bb6c0a12e954ddaa4e13f593d18500.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/mii/types/core_data.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/service/mii/types/core_data.cpp b/src/core/hle/service/mii/types/core_data.cpp
index 970c748ca..ba1da76ba 100644
--- a/src/core/hle/service/mii/types/core_data.cpp
+++ b/src/core/hle/service/mii/types/core_data.cpp
@@ -41,6 +41,7 @@ void CoreData::BuildRandom(Age age, Gender gender, Race race) {
}
}
+ SetDefault();
SetGender(gender);
SetFavoriteColor(MiiUtil::GetRandomValue(FavoriteColor::Max));
SetRegionMove(0);