diff options
author | german77 <juangerman-13@hotmail.com> | 2023-09-11 06:42:38 +0200 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2023-09-11 06:42:38 +0200 |
commit | 8d7d62dc24b0788b6158fd6b3bd5bce6a6969a8c (patch) | |
tree | 6ea7d5f1e5d3cf29bf8abcd16bbb30bf71ec3419 /src/core/hle/service/nfc/common/device.cpp | |
parent | service: mii: separate mii types into their own file (diff) | |
download | yuzu-8d7d62dc24b0788b6158fd6b3bd5bce6a6969a8c.tar yuzu-8d7d62dc24b0788b6158fd6b3bd5bce6a6969a8c.tar.gz yuzu-8d7d62dc24b0788b6158fd6b3bd5bce6a6969a8c.tar.bz2 yuzu-8d7d62dc24b0788b6158fd6b3bd5bce6a6969a8c.tar.lz yuzu-8d7d62dc24b0788b6158fd6b3bd5bce6a6969a8c.tar.xz yuzu-8d7d62dc24b0788b6158fd6b3bd5bce6a6969a8c.tar.zst yuzu-8d7d62dc24b0788b6158fd6b3bd5bce6a6969a8c.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 44ac8cc71..5e61d2595 100644 --- a/src/core/hle/service/nfc/common/device.cpp +++ b/src/core/hle/service/nfc/common/device.cpp @@ -834,7 +834,7 @@ Result NfcDevice::SetRegisterInfoPrivate(const NFP::RegisterInfoPrivate& registe } SetAmiiboName(settings, register_info.amiibo_name); - tag_data.owner_mii = manager.BuildFromStoreData(mii); + tag_data.owner_mii.BuildFromStoreData(mii); tag_data.mii_extension = manager.SetFromStoreData(mii); tag_data.unknown = 0; tag_data.unknown2 = {}; @@ -1466,7 +1466,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.BuildBase(Mii::Gender::Male)); + stubbed_tag_data.owner_mii.BuildFromStoreData(manager.BuildBase(Mii::Gender::Male)); // Admin info settings.settings.amiibo_initialized.Assign(1); |