diff options
author | Lioncash <mathew1800@gmail.com> | 2018-11-14 07:04:38 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-11-14 18:53:39 +0100 |
commit | b4f63db04e5d686b2f88e040e9524cfc24d0a34e (patch) | |
tree | b9c3c3fadb6aa1b1b27a9b8349c3ff6baa47770f /src/core/hle/service/nfp | |
parent | Merge pull request #1628 from greggameplayer/Texture2DArray (diff) | |
download | yuzu-b4f63db04e5d686b2f88e040e9524cfc24d0a34e.tar yuzu-b4f63db04e5d686b2f88e040e9524cfc24d0a34e.tar.gz yuzu-b4f63db04e5d686b2f88e040e9524cfc24d0a34e.tar.bz2 yuzu-b4f63db04e5d686b2f88e040e9524cfc24d0a34e.tar.lz yuzu-b4f63db04e5d686b2f88e040e9524cfc24d0a34e.tar.xz yuzu-b4f63db04e5d686b2f88e040e9524cfc24d0a34e.tar.zst yuzu-b4f63db04e5d686b2f88e040e9524cfc24d0a34e.zip |
Diffstat (limited to 'src/core/hle/service/nfp')
-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 |