summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authormailwl <mailwl@gmail.com>2016-10-25 08:50:58 +0200
committerVladimir Russkih <vrusskih@niisokb.ru>2016-10-25 08:54:29 +0200
commitf672c7bd2444b2bc8bc8f0d20ffb034bb4a751e0 (patch)
tree174c8365ccbd0267cfdf087633aea7b0c4f62d35 /src/core/hle
parentMerge pull request #2131 from ricardotk/typos (diff)
downloadyuzu-f672c7bd2444b2bc8bc8f0d20ffb034bb4a751e0.tar
yuzu-f672c7bd2444b2bc8bc8f0d20ffb034bb4a751e0.tar.gz
yuzu-f672c7bd2444b2bc8bc8f0d20ffb034bb4a751e0.tar.bz2
yuzu-f672c7bd2444b2bc8bc8f0d20ffb034bb4a751e0.tar.lz
yuzu-f672c7bd2444b2bc8bc8f0d20ffb034bb4a751e0.tar.xz
yuzu-f672c7bd2444b2bc8bc8f0d20ffb034bb4a751e0.tar.zst
yuzu-f672c7bd2444b2bc8bc8f0d20ffb034bb4a751e0.zip
Diffstat (limited to 'src/core/hle')
-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");
}