diff options
author | mailwl <mailwl@gmail.com> | 2016-10-25 08:50:58 +0200 |
---|---|---|
committer | Vladimir Russkih <vrusskih@niisokb.ru> | 2016-10-25 08:54:29 +0200 |
commit | f672c7bd2444b2bc8bc8f0d20ffb034bb4a751e0 (patch) | |
tree | 174c8365ccbd0267cfdf087633aea7b0c4f62d35 /src/core/hle/service/frd/frd.cpp | |
parent | Merge pull request #2131 from ricardotk/typos (diff) | |
download | yuzu-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 '')
-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"); } |