mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-14 14:02:58 +00:00
Merge pull request #1690 from lioncash/nfp
nfp: Correct erroneous sizeof expression within GetTagInfo()
This commit is contained in:
commit
c681690358
|
@ -212,7 +212,7 @@ private:
|
||||||
IPC::ResponseBuilder rb{ctx, 2};
|
IPC::ResponseBuilder rb{ctx, 2};
|
||||||
auto amiibo = nfp_interface.GetAmiiboBuffer();
|
auto amiibo = nfp_interface.GetAmiiboBuffer();
|
||||||
TagInfo tag_info{};
|
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.uuid_length = static_cast<u8>(tag_info.uuid.size());
|
||||||
|
|
||||||
tag_info.protocol = 1; // TODO(ogniK): Figure out actual values
|
tag_info.protocol = 1; // TODO(ogniK): Figure out actual values
|
||||||
|
|
Loading…
Reference in a new issue