{"action":"created","comment":{"url":"https://api.github.com/repos/citra-emu/citra/pulls/comments/55115041","id":55115041,"diff_hunk":"@@ -10,6 +12,98 @@\n namespace Service {\n namespace FRD {\n \n+typedef u16(display_name)[11];\n+\n+static FriendKey my_friend_key = {0, 0, 0ull};\n+static MyPresence my_presence = {};\n+\n+void GetMyPresence(Service::Interface* self) {\n+    u32* cmd_buff = Kernel::GetCommandBuffer();\n+\n+    u32 shifted_out_size = cmd_buff[64];\n+    u32 my_presence_addr = cmd_buff[65];\n+\n+    ASSERT(shifted_out_size == ((sizeof(MyPresence) << 14) | 2));\n+\n+    Memory::WriteBlock(my_presence_addr, reinterpret_cast<const u8*>(&my_presence), sizeof(MyPresence));","path":"src/core/hle/service/frd/frd.cpp","position":26,"original_position":26,"commit_id":"f093be3ca5610fa6ae19ea87f6c623a8f9b08f51","original_commit_id":"f093be3ca5610fa6ae19ea87f6c623a8f9b08f51","user":{"login":"mailwl","id":629437,"avatar_url":"https://avatars.githubusercontent.com/u/629437?v=3","gravatar_id":"","url":"https://api.github.com/users/mailwl","html_url":"https://github.com/mailwl","followers_url":"https://api.github.com/users/mailwl/followers","following_url":"https://api.github.com/users/mailwl/following{/other_user}","gists_url":"https://api.github.com/users/mailwl/gists{/gist_id}","starred_url":"https://api.github.com/users/mailwl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mailwl/subscriptions","organizations_url":"https://api.github.com/users/mailwl/orgs","repos_url":"https://api.github.com/users/mailwl/repos","events_url":"https://api.github.com/users/mailwl/events{/privacy}","received_events_url":"https://api.github.com/users/mailwl/received_events","type":"User","site_admin":false},"body":"vs 2015 says: can not convert type \"MyPresence*\" to \"const u8*\"","created_at":"2016-03-05T04:00:38Z","updated_at":"2016-03-05T04:00:38Z","html_url":"https://github.com/citra-emu/citra/pull/1435#discussion_r55115041","pull_request_url":"https://api.github.com/repos/citra-emu/citra/pulls/1435","_links":{"self":{"href":"https://api.github.com/repos/citra-emu/citra/pulls/comments/55115041"},"html":{"href":"https://github.com/citra-emu/citra/pull/1435#discussion_r55115041"},"pull_request":{"href":"https://api.github.com/repos/citra-emu/citra/pulls/1435"}}},"pull_request":{"url":"https://api.github.com/repos/citra-emu/citra/pulls/1435","id":61281840,"html_url":"https://github.com/citra-emu/citra/pull/1435","diff_url":"https://github.com/citra-emu/citra/pull/1435.diff","patch_url":"https://github.com/citra-emu/citra/pull/1435.patch","issue_url":"https://api.github.com/repos/citra-emu/citra/issues/1435","number":1435,"state":"open","locked":false,"title":"frd:u: Initial stub some functions","user":{"login":"mailwl","id":629437,"avatar_url":"https://avatars.githubusercontent.com/u/629437?v=3","gravatar_id":"","url":"https://api.github.com/users/mailwl","html_url":"https://github.com/mailwl","followers_url":"https://api.github.com/users/mailwl/followers","following_url":"https://api.github.com/users/mailwl/following{/other_user}","gists_url":"https://api.github.com/users/mailwl/gists{/gist_id}","starred_url":"https://api.github.com/users/mailwl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mailwl/subscriptions","organizations_url":"https://api.github.com/users/mailwl/orgs","repos_url":"https://api.github.com/users/mailwl/repos","events_url":"https://api.github.com/users/mailwl/events{/privacy}","received_events_url":"https://api.github.com/users/mailwl/received_events","type":"User","site_admin":false},"body":"It's minimal set to start the game Fantasy Life, most functions just stubbed (need more investigation)\r\naccording #901 this functions were implemented, but i don't see it in master","created_at":"2016-03-01T17:57:29Z","updated_at":"2016-03-05T04:00:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a2b5be005408e9125636ecb526f05479712702ea","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/citra-emu/citra/pulls/1435/commits","review_comments_url":"https://api.github.com/repos/citra-emu/citra/pulls/1435/comments","review_comment_url":"https://api.github.com/repos/citra-emu/citra/pulls/comments{/number}","comments_url":"https://api.github.com/repos/citra-emu/citra/issues/1435/comments","statuses_url":"https://api.github.com/repos/citra-emu/citra/statuses/f093be3ca5610fa6ae19ea87f6c623a8f9b08f51","head":{"label":"mailwl:frd_u","ref":"frd_u","sha":"f093be3ca5610fa6ae19ea87f6c623a8f9b08f51","user":{"login":"mailwl","id":629437,"avatar_url":"https://avatars.githubusercontent.com/u/629437?v=3","gravatar_id":"","url":"https://api.github.com/users/mailwl","html_url":"https://github.com/mailwl","followers_url":"https://api.github.com/users/mailwl/followers","following_url":"https://api.github.com/users/mailwl/following{/other_user}","gists_url":"https://api.github.com/users/mailwl/gists{/gist_id}","starred_url":"https://api.github.com/users/mailwl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mailwl/subscriptions","organizations_url":"https://api.github.com/users/mailwl/orgs","repos_url":"https://api.github.com/users/mailwl/repos","events_url":"https://api.github.com/users/mailwl/events{/privacy}","received_events_url":"https://api.github.com/users/mailwl/received_events","type":"User","site_admin":false},"repo":{"id":52194413,"name":"citra","full_name":"mailwl/citra","owner":{"login":"mailwl","id":629437,"avatar_url":"https://avatars.githubusercontent.com/u/629437?v=3","gravatar_id":"","url":"https://api.github.com/users/mailwl","html_url":"https://github.com/mailwl","followers_url":"https://api.github.com/users/mailwl/followers","following_url":"https://api.github.com/users/mailwl/following{/other_user}","gists_url":"https://api.github.com/users/mailwl/gists{/gist_id}","starred_url":"https://api.github.com/users/mailwl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mailwl/subscriptions","organizations_url":"https://api.github.com/users/mailwl/orgs","repos_url":"https://api.github.com/users/mailwl/repos","events_url":"https://api.github.com/users/mailwl/events{/privacy}","received_events_url":"https://api.github.com/users/mailwl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mailwl/citra","description":"Nintendo 3DS emulator/debugger","fork":true,"url":"https://api.github.com/repos/mailwl/citra","forks_url":"https://api.github.com/repos/mailwl/citra/forks","keys_url":"https://api.github.com/repos/mailwl/citra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mailwl/citra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mailwl/citra/teams","hooks_url":"https://api.github.com/repos/mailwl/citra/hooks","issue_events_url":"https://api.github.com/repos/mailwl/citra/issues/events{/number}","events_url":"https://api.github.com/repos/mailwl/citra/events","assignees_url":"https://api.github.com/repos/mailwl/citra/assignees{/user}","branches_url":"https://api.github.com/repos/mailwl/citra/branches{/branch}","tags_url":"https://api.github.com/repos/mailwl/citra/tags","blobs_url":"https://api.github.com/repos/mailwl/citra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mailwl/citra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mailwl/citra/git/refs{/sha}","trees_url":"https://api.github.com/repos/mailwl/citra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mailwl/citra/statuses/{sha}","languages_url":"https://api.github.com/repos/mailwl/citra/languages","stargazers_url":"https://api.github.com/repos/mailwl/citra/stargazers","contributors_url":"https://api.github.com/repos/mailwl/citra/contributors","subscribers_url":"https://api.github.com/repos/mailwl/citra/subscribers","subscription_url":"https://api.github.com/repos/mailwl/citra/subscription","commits_url":"https://api.github.com/repos/mailwl/citra/commits{/sha}","git_commits_url":"https://api.github.com/repos/mailwl/citra/git/commits{/sha}","comments_url":"https://api.github.com/repos/mailwl/citra/comments{/number}","issue_comment_url":"https://api.github.com/repos/mailwl/citra/issues/comments{/number}","contents_url":"https://api.github.com/repos/mailwl/citra/contents/{+path}","compare_url":"https://api.github.com/repos/mailwl/citra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mailwl/citra/merges","archive_url":"https://api.github.com/repos/mailwl/citra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mailwl/citra/downloads","issues_url":"https://api.github.com/repos/mailwl/citra/issues{/number}","pulls_url":"https://api.github.com/repos/mailwl/citra/pulls{/number}","milestones_url":"https://api.github.com/repos/mailwl/citra/milestones{/number}","notifications_url":"https://api.github.com/repos/mailwl/citra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mailwl/citra/labels{/name}","releases_url":"https://api.github.com/repos/mailwl/citra/releases{/id}","deployments_url":"https://api.github.com/repos/mailwl/citra/deployments","created_at":"2016-02-21T06:42:53Z","updated_at":"2016-02-21T06:42:56Z","pushed_at":"2016-03-04T19:29:53Z","git_url":"git://github.com/mailwl/citra.git","ssh_url":"git@github.com:mailwl/citra.git","clone_url":"https://github.com/mailwl/citra.git","svn_url":"https://github.com/mailwl/citra","homepage":null,"size":11747,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"citra-emu:master","ref":"master","sha":"dc2ee9b338e3fcc20f2e96543cf2efd2bd6136d3","user":{"login":"citra-emu","id":7605670,"avatar_url":"https://avatars.githubusercontent.com/u/7605670?v=3","gravatar_id":"","url":"https://api.github.com/users/citra-emu","html_url":"https://github.com/citra-emu","followers_url":"https://api.github.com/users/citra-emu/followers","following_url":"https://api.github.com/users/citra-emu/following{/other_user}","gists_url":"https://api.github.com/users/citra-emu/gists{/gist_id}","starred_url":"https://api.github.com/users/citra-emu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citra-emu/subscriptions","organizations_url":"https://api.github.com/users/citra-emu/orgs","repos_url":"https://api.github.com/users/citra-emu/repos","events_url":"https://api.github.com/users/citra-emu/events{/privacy}","received_events_url":"https://api.github.com/users/citra-emu/received_events","type":"Organization","site_admin":false},"repo":{"id":19866730,"name":"citra","full_name":"citra-emu/citra","owner":{"login":"citra-emu","id":7605670,"avatar_url":"https://avatars.githubusercontent.com/u/7605670?v=3","gravatar_id":"","url":"https://api.github.com/users/citra-emu","html_url":"https://github.com/citra-emu","followers_url":"https://api.github.com/users/citra-emu/followers","following_url":"https://api.github.com/users/citra-emu/following{/other_user}","gists_url":"https://api.github.com/users/citra-emu/gists{/gist_id}","starred_url":"https://api.github.com/users/citra-emu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citra-emu/subscriptions","organizations_url":"https://api.github.com/users/citra-emu/orgs","repos_url":"https://api.github.com/users/citra-emu/repos","events_url":"https://api.github.com/users/citra-emu/events{/privacy}","received_events_url":"https://api.github.com/users/citra-emu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/citra-emu/citra","description":"Nintendo 3DS Emulator","fork":false,"url":"https://api.github.com/repos/citra-emu/citra","forks_url":"https://api.github.com/repos/citra-emu/citra/forks","keys_url":"https://api.github.com/repos/citra-emu/citra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/citra-emu/citra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/citra-emu/citra/teams","hooks_url":"https://api.github.com/repos/citra-emu/citra/hooks","issue_events_url":"https://api.github.com/repos/citra-emu/citra/issues/events{/number}","events_url":"https://api.github.com/repos/citra-emu/citra/events","assignees_url":"https://api.github.com/repos/citra-emu/citra/assignees{/user}","branches_url":"https://api.github.com/repos/citra-emu/citra/branches{/branch}","tags_url":"https://api.github.com/repos/citra-emu/citra/tags","blobs_url":"https://api.github.com/repos/citra-emu/citra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/citra-emu/citra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/citra-emu/citra/git/refs{/sha}","trees_url":"https://api.github.com/repos/citra-emu/citra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/citra-emu/citra/statuses/{sha}","languages_url":"https://api.github.com/repos/citra-emu/citra/languages","stargazers_url":"https://api.github.com/repos/citra-emu/citra/stargazers","contributors_url":"https://api.github.com/repos/citra-emu/citra/contributors","subscribers_url":"https://api.github.com/repos/citra-emu/citra/subscribers","subscription_url":"https://api.github.com/repos/citra-emu/citra/subscription","commits_url":"https://api.github.com/repos/citra-emu/citra/commits{/sha}","git_commits_url":"https://api.github.com/repos/citra-emu/citra/git/commits{/sha}","comments_url":"https://api.github.com/repos/citra-emu/citra/comments{/number}","issue_comment_url":"https://api.github.com/repos/citra-emu/citra/issues/comments{/number}","contents_url":"https://api.github.com/repos/citra-emu/citra/contents/{+path}","compare_url":"https://api.github.com/repos/citra-emu/citra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/citra-emu/citra/merges","archive_url":"https://api.github.com/repos/citra-emu/citra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/citra-emu/citra/downloads","issues_url":"https://api.github.com/repos/citra-emu/citra/issues{/number}","pulls_url":"https://api.github.com/repos/citra-emu/citra/pulls{/number}","milestones_url":"https://api.github.com/repos/citra-emu/citra/milestones{/number}","notifications_url":"https://api.github.com/repos/citra-emu/citra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/citra-emu/citra/labels{/name}","releases_url":"https://api.github.com/repos/citra-emu/citra/releases{/id}","deployments_url":"https://api.github.com/repos/citra-emu/citra/deployments","created_at":"2014-05-16T18:33:15Z","updated_at":"2016-03-04T19:50:47Z","pushed_at":"2016-03-05T00:56:57Z","git_url":"git://github.com/citra-emu/citra.git","ssh_url":"git@github.com:citra-emu/citra.git","clone_url":"https://github.com/citra-emu/citra.git","svn_url":"https://github.com/citra-emu/citra","homepage":"https://citra-emu.org","size":18728,"stargazers_count":1572,"watchers_count":1572,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":370,"mirror_url":null,"open_issues_count":152,"forks":370,"open_issues":152,"watchers":1572,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/citra-emu/citra/pulls/1435"},"html":{"href":"https://github.com/citra-emu/citra/pull/1435"},"issue":{"href":"https://api.github.com/repos/citra-emu/citra/issues/1435"},"comments":{"href":"https://api.github.com/repos/citra-emu/citra/issues/1435/comments"},"review_comments":{"href":"https://api.github.com/repos/citra-emu/citra/pulls/1435/comments"},"review_comment":{"href":"https://api.github.com/repos/citra-emu/citra/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/citra-emu/citra/pulls/1435/commits"},"statuses":{"href":"https://api.github.com/repos/citra-emu/citra/statuses/f093be3ca5610fa6ae19ea87f6c623a8f9b08f51"}}}}