summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwwylele <wwylele@gmail.com>2016-10-25 14:24:13 +0200
committerGitHub <noreply@github.com>2016-10-25 14:24:13 +0200
commiteac57e29c1c6eaa0411874ae4b03fa8739772774 (patch)
tree174c8365ccbd0267cfdf087633aea7b0c4f62d35
parentMerge pull request #2131 from ricardotk/typos (diff)
parentFRD: fix GetMyFriendKey (diff)
downloadyuzu-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
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/frd/frd.cpp2
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");
}