diff options
author | mailwl <mailwl@gmail.com> | 2016-10-25 09:50:58 +0300 |
---|---|---|
committer | Vladimir Russkih <vrusskih@niisokb.ru> | 2016-10-25 09:54:29 +0300 |
commit | f672c7bd2444b2bc8bc8f0d20ffb034bb4a751e0 (patch) | |
tree | 174c8365ccbd0267cfdf087633aea7b0c4f62d35 /src | |
parent | 8b367777319b4fc14c7a9af6b91e07702cbb8742 (diff) |
FRD: fix GetMyFriendKey
Diffstat (limited to 'src')
-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 fa50805352..1d16f8732a 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"); } |