diff options
author | wwylele <wwylele@gmail.com> | 2016-10-25 14:24:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-25 14:24:13 +0200 |
commit | eac57e29c1c6eaa0411874ae4b03fa8739772774 (patch) | |
tree | 174c8365ccbd0267cfdf087633aea7b0c4f62d35 | |
parent | Merge pull request #2131 from ricardotk/typos (diff) | |
parent | FRD: fix GetMyFriendKey (diff) | |
download | yuzu-eac57e29c1c6eaa0411874ae4b03fa8739772774.tar yuzu-eac57e29c1c6eaa0411874ae4b03fa8739772774.tar.gz yuzu-eac57e29c1c6eaa0411874ae4b03fa8739772774.tar.bz2 yuzu-eac57e29c1c6eaa0411874ae4b03fa8739772774.tar.lz yuzu-eac57e29c1c6eaa0411874ae4b03fa8739772774.tar.xz yuzu-eac57e29c1c6eaa0411874ae4b03fa8739772774.tar.zst yuzu-eac57e29c1c6eaa0411874ae4b03fa8739772774.zip |
-rw-r--r-- | src/core/hle/service/frd/frd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/frd/frd.cpp b/src/core/hle/service/frd/frd.cpp index fa5080535..1d16f8732 100644 --- a/src/core/hle/service/frd/frd.cpp +++ b/src/core/hle/service/frd/frd.cpp @@ -87,7 +87,7 @@ void GetMyFriendKey(Service::Interface* self) { u32* cmd_buff = Kernel::GetCommandBuffer(); cmd_buff[1] = RESULT_SUCCESS.raw; // No error - Memory::WriteBlock(cmd_buff[2], &my_friend_key, sizeof(FriendKey)); + std::memcpy(&cmd_buff[2], &my_friend_key, sizeof(FriendKey)); LOG_WARNING(Service_FRD, "(STUBBED) called"); } |