diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-09-07 20:20:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-07 20:20:24 +0200 |
commit | bbfd9eb428c7b1c811a3a041d62a7d4c94cafa07 (patch) | |
tree | 7f8e2d5bb8e7d7c15c42a21fb59abf332fb35986 /src/core/hle/service/nfc/common/device.cpp | |
parent | Merge pull request #11428 from Kelebek1/adsp_rework (diff) | |
parent | service: mii: Fix broken mii on MK8 (diff) | |
download | yuzu-bbfd9eb428c7b1c811a3a041d62a7d4c94cafa07.tar yuzu-bbfd9eb428c7b1c811a3a041d62a7d4c94cafa07.tar.gz yuzu-bbfd9eb428c7b1c811a3a041d62a7d4c94cafa07.tar.bz2 yuzu-bbfd9eb428c7b1c811a3a041d62a7d4c94cafa07.tar.lz yuzu-bbfd9eb428c7b1c811a3a041d62a7d4c94cafa07.tar.xz yuzu-bbfd9eb428c7b1c811a3a041d62a7d4c94cafa07.tar.zst yuzu-bbfd9eb428c7b1c811a3a041d62a7d4c94cafa07.zip |
Diffstat (limited to 'src/core/hle/service/nfc/common/device.cpp')
-rw-r--r-- | src/core/hle/service/nfc/common/device.cpp | 4 |
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); |