summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nfc
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2023-09-07 18:55:38 +0200
committerNarr the Reg <juangerman-13@hotmail.com>2023-09-07 19:46:12 +0200
commit57e7eed54c61d52361d4e3434bcfa4aa707e7232 (patch)
tree7f8e2d5bb8e7d7c15c42a21fb59abf332fb35986 /src/core/hle/service/nfc
parentMerge pull request #11428 from Kelebek1/adsp_rework (diff)
downloadyuzu-57e7eed54c61d52361d4e3434bcfa4aa707e7232.tar
yuzu-57e7eed54c61d52361d4e3434bcfa4aa707e7232.tar.gz
yuzu-57e7eed54c61d52361d4e3434bcfa4aa707e7232.tar.bz2
yuzu-57e7eed54c61d52361d4e3434bcfa4aa707e7232.tar.lz
yuzu-57e7eed54c61d52361d4e3434bcfa4aa707e7232.tar.xz
yuzu-57e7eed54c61d52361d4e3434bcfa4aa707e7232.tar.zst
yuzu-57e7eed54c61d52361d4e3434bcfa4aa707e7232.zip
Diffstat (limited to 'src/core/hle/service/nfc')
-rw-r--r--src/core/hle/service/nfc/common/device.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/nfc/common/device.cpp b/src/core/hle/service/nfc/common/device.cpp
index 49446bc42..5df40f9a0 100644
--- a/src/core/hle/service/nfc/common/device.cpp
+++ b/src/core/hle/service/nfc/common/device.cpp
@@ -826,7 +826,7 @@ Result NfcDevice::SetRegisterInfoPrivate(const NFP::RegisterInfoPrivate& registe
}
Service::Mii::MiiManager manager;
- const auto mii = manager.BuildDefault(0);
+ const auto mii = manager.BuildBase(Mii::Gender::Male);
auto& settings = tag_data.settings;
if (tag_data.settings.settings.amiibo_initialized == 0) {
@@ -1467,7 +1467,7 @@ void NfcDevice::BuildAmiiboWithoutKeys(NFP::NTAG215File& stubbed_tag_data,
SetAmiiboName(settings, {'y', 'u', 'z', 'u', 'A', 'm', 'i', 'i', 'b', 'o'});
settings.settings.font_region.Assign(0);
settings.init_date = GetAmiiboDate(GetCurrentPosixTime());
- stubbed_tag_data.owner_mii = manager.BuildFromStoreData(manager.BuildDefault(0));
+ stubbed_tag_data.owner_mii = manager.BuildFromStoreData(manager.BuildBase(Mii::Gender::Male));
// Admin info
settings.settings.amiibo_initialized.Assign(1);