citra-emu
/
citra
Archived
1
0
Fork 0

Merge pull request #2139 from mailwl/frd-fix

FRD: fix GetMyFriendKey
This commit is contained in:
wwylele 2016-10-25 20:24:13 +08:00 committed by GitHub
commit eac57e29c1
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ void GetMyFriendKey(Service::Interface* self) {
u32* cmd_buff = Kernel::GetCommandBuffer(); u32* cmd_buff = Kernel::GetCommandBuffer();
cmd_buff[1] = RESULT_SUCCESS.raw; // No error 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"); LOG_WARNING(Service_FRD, "(STUBBED) called");
} }