summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2023-11-26 04:31:05 +0100
committergerman77 <juangerman-13@hotmail.com>2023-11-26 04:31:05 +0100
commit4ce6762945fb44c2e4e0d742ff6a34fc38ffb2df (patch)
tree9c9e3c1651b83333001b0fba0a35e4e120f3c1e2 /src/core
parentandroid: input: Flip abxy on backbone labs controllers (diff)
downloadyuzu-4ce6762945fb44c2e4e0d742ff6a34fc38ffb2df.tar
yuzu-4ce6762945fb44c2e4e0d742ff6a34fc38ffb2df.tar.gz
yuzu-4ce6762945fb44c2e4e0d742ff6a34fc38ffb2df.tar.bz2
yuzu-4ce6762945fb44c2e4e0d742ff6a34fc38ffb2df.tar.lz
yuzu-4ce6762945fb44c2e4e0d742ff6a34fc38ffb2df.tar.xz
yuzu-4ce6762945fb44c2e4e0d742ff6a34fc38ffb2df.tar.zst
yuzu-4ce6762945fb44c2e4e0d742ff6a34fc38ffb2df.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/service/am/applets/applet_cabinet.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/am/applets/applet_cabinet.cpp b/src/core/hle/service/am/applets/applet_cabinet.cpp
index b379dadeb..9d1960cb7 100644
--- a/src/core/hle/service/am/applets/applet_cabinet.cpp
+++ b/src/core/hle/service/am/applets/applet_cabinet.cpp
@@ -122,7 +122,8 @@ void Cabinet::DisplayCompleted(bool apply_changes, std::string_view amiibo_name)
Service::NFP::RegisterInfoPrivate register_info{};
std::memcpy(register_info.amiibo_name.data(), amiibo_name.data(),
std::min(amiibo_name.size(), register_info.amiibo_name.size() - 1));
-
+ register_info.mii_store_data.BuildRandom(Mii::Age::All, Mii::Gender::All, Mii::Race::All);
+ register_info.mii_store_data.SetNickname({u'y', u'u', u'z', u'u'});
nfp_device->SetRegisterInfoPrivate(register_info);
break;
}