diff options
author | bunnei <bunneidev@gmail.com> | 2018-11-14 20:55:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-14 20:55:09 +0100 |
commit | c6816903589b71b8bd2ec821a925b8aefd3aef93 (patch) | |
tree | 5ffcc2ac88fde6e3067f0b0d990fe96602712ef1 | |
parent | Merge pull request #1689 from lioncash/break (diff) | |
parent | nfp: Correct erroneous sizeof expression within GetTagInfo() (diff) | |
download | yuzu-c6816903589b71b8bd2ec821a925b8aefd3aef93.tar yuzu-c6816903589b71b8bd2ec821a925b8aefd3aef93.tar.gz yuzu-c6816903589b71b8bd2ec821a925b8aefd3aef93.tar.bz2 yuzu-c6816903589b71b8bd2ec821a925b8aefd3aef93.tar.lz yuzu-c6816903589b71b8bd2ec821a925b8aefd3aef93.tar.xz yuzu-c6816903589b71b8bd2ec821a925b8aefd3aef93.tar.zst yuzu-c6816903589b71b8bd2ec821a925b8aefd3aef93.zip |
-rw-r--r-- | src/core/hle/service/nfp/nfp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/nfp/nfp.cpp b/src/core/hle/service/nfp/nfp.cpp index c1af878fe..1d6e7756f 100644 --- a/src/core/hle/service/nfp/nfp.cpp +++ b/src/core/hle/service/nfp/nfp.cpp @@ -212,7 +212,7 @@ private: IPC::ResponseBuilder rb{ctx, 2}; auto amiibo = nfp_interface.GetAmiiboBuffer(); TagInfo tag_info{}; - std::memcpy(tag_info.uuid.data(), amiibo.uuid.data(), sizeof(tag_info.uuid.size())); + tag_info.uuid = amiibo.uuid; tag_info.uuid_length = static_cast<u8>(tag_info.uuid.size()); tag_info.protocol = 1; // TODO(ogniK): Figure out actual values |