{"action":"created","comment":{"url":"https://api.github.com/repos/Ryujinx/Ryujinx/pulls/comments/203197762","pull_request_review_id":138038112,"id":203197762,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMzE5Nzc2Mg==","diff_hunk":"@@ -14,21 +17,40 @@ public IProfile()\n         {\n             m_Commands = new Dictionary<int, ServiceProcessRequest>()\n             {\n+                { 0, Get     },\n                 { 1, GetBase }\n             };\n         }\n \n-        public long GetBase(ServiceCtx Context)\n+        public long Get(ServiceCtx Context)\n         {\n             Context.Ns.Log.PrintStub(LogClass.ServiceAcc, \"Stubbed.\");\n \n-            Context.ResponseData.Write(0L);\n-            Context.ResponseData.Write(0L);\n-            Context.ResponseData.Write(0L);\n-            Context.ResponseData.Write(0L);\n-            Context.ResponseData.Write(0L);\n-            Context.ResponseData.Write(0L);\n-            Context.ResponseData.Write(0L);\n+            long Position = Context.Request.ReceiveBuff[0].Position;\n+\n+            Context.Memory.WriteInt32(Position, 0);\n+            Context.Memory.WriteInt32(Position + 4, 1);\n+            Context.Memory.WriteByte(Position + 8, 1);","path":"Ryujinx.HLE/OsHle/Services/Acc/IProfile.cs","position":35,"original_position":35,"commit_id":"12ee90038094af2d74147dd1a1a549a1d333cafd","original_commit_id":"12ee90038094af2d74147dd1a1a549a1d333cafd","user":{"login":"gdkchan","id":5624669,"node_id":"MDQ6VXNlcjU2MjQ2Njk=","avatar_url":"https://avatars0.githubusercontent.com/u/5624669?v=4","gravatar_id":"","url":"https://api.github.com/users/gdkchan","html_url":"https://github.com/gdkchan","followers_url":"https://api.github.com/users/gdkchan/followers","following_url":"https://api.github.com/users/gdkchan/following{/other_user}","gists_url":"https://api.github.com/users/gdkchan/gists{/gist_id}","starred_url":"https://api.github.com/users/gdkchan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdkchan/subscriptions","organizations_url":"https://api.github.com/users/gdkchan/orgs","repos_url":"https://api.github.com/users/gdkchan/repos","events_url":"https://api.github.com/users/gdkchan/events{/privacy}","received_events_url":"https://api.github.com/users/gdkchan/received_events","type":"User","site_admin":false},"body":"Also would be nice to have an explanation on what those values means (0, 1 and 1).","created_at":"2018-07-17T22:09:46Z","updated_at":"2018-07-17T22:10:02Z","html_url":"https://github.com/Ryujinx/Ryujinx/pull/266#discussion_r203197762","pull_request_url":"https://api.github.com/repos/Ryujinx/Ryujinx/pulls/266","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/Ryujinx/Ryujinx/pulls/comments/203197762"},"html":{"href":"https://github.com/Ryujinx/Ryujinx/pull/266#discussion_r203197762"},"pull_request":{"href":"https://api.github.com/repos/Ryujinx/Ryujinx/pulls/266"}},"in_reply_to_id":203197680},"pull_request":{"url":"https://api.github.com/repos/Ryujinx/Ryujinx/pulls/266","id":201443650,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxNDQzNjUw","html_url":"https://github.com/Ryujinx/Ryujinx/pull/266","diff_url":"https://github.com/Ryujinx/Ryujinx/pull/266.diff","patch_url":"https://github.com/Ryujinx/Ryujinx/pull/266.patch","issue_url":"https://api.github.com/repos/Ryujinx/Ryujinx/issues/266","number":266,"state":"open","locked":false,"title":"Implement IProfile Get and GetBase","user":{"login":"emmauss","id":5307160,"node_id":"MDQ6VXNlcjUzMDcxNjA=","avatar_url":"https://avatars2.githubusercontent.com/u/5307160?v=4","gravatar_id":"","url":"https://api.github.com/users/emmauss","html_url":"https://github.com/emmauss","followers_url":"https://api.github.com/users/emmauss/followers","following_url":"https://api.github.com/users/emmauss/following{/other_user}","gists_url":"https://api.github.com/users/emmauss/gists{/gist_id}","starred_url":"https://api.github.com/users/emmauss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmauss/subscriptions","organizations_url":"https://api.github.com/users/emmauss/orgs","repos_url":"https://api.github.com/users/emmauss/repos","events_url":"https://api.github.com/users/emmauss/events{/privacy}","received_events_url":"https://api.github.com/users/emmauss/received_events","type":"User","site_admin":false},"body":"This implements Get and GetBase of IProfile. If tests are available, I will add loading of profile image. The default username is \"Ryujinx\".","created_at":"2018-07-14T09:10:41Z","updated_at":"2018-07-17T22:10:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c601ab53ef1ec6f172982dbb9e26d721e82b8d53","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Ryujinx/Ryujinx/pulls/266/commits","review_comments_url":"https://api.github.com/repos/Ryujinx/Ryujinx/pulls/266/comments","review_comment_url":"https://api.github.com/repos/Ryujinx/Ryujinx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Ryujinx/Ryujinx/issues/266/comments","statuses_url":"https://api.github.com/repos/Ryujinx/Ryujinx/statuses/12ee90038094af2d74147dd1a1a549a1d333cafd","head":{"label":"emmauss:account","ref":"account","sha":"12ee90038094af2d74147dd1a1a549a1d333cafd","user":{"login":"emmauss","id":5307160,"node_id":"MDQ6VXNlcjUzMDcxNjA=","avatar_url":"https://avatars2.githubusercontent.com/u/5307160?v=4","gravatar_id":"","url":"https://api.github.com/users/emmauss","html_url":"https://github.com/emmauss","followers_url":"https://api.github.com/users/emmauss/followers","following_url":"https://api.github.com/users/emmauss/following{/other_user}","gists_url":"https://api.github.com/users/emmauss/gists{/gist_id}","starred_url":"https://api.github.com/users/emmauss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmauss/subscriptions","organizations_url":"https://api.github.com/users/emmauss/orgs","repos_url":"https://api.github.com/users/emmauss/repos","events_url":"https://api.github.com/users/emmauss/events{/privacy}","received_events_url":"https://api.github.com/users/emmauss/received_events","type":"User","site_admin":false},"repo":{"id":120365502,"node_id":"MDEwOlJlcG9zaXRvcnkxMjAzNjU1MDI=","name":"Ryujinx","full_name":"emmauss/Ryujinx","owner":{"login":"emmauss","id":5307160,"node_id":"MDQ6VXNlcjUzMDcxNjA=","avatar_url":"https://avatars2.githubusercontent.com/u/5307160?v=4","gravatar_id":"","url":"https://api.github.com/users/emmauss","html_url":"https://github.com/emmauss","followers_url":"https://api.github.com/users/emmauss/followers","following_url":"https://api.github.com/users/emmauss/following{/other_user}","gists_url":"https://api.github.com/users/emmauss/gists{/gist_id}","starred_url":"https://api.github.com/users/emmauss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmauss/subscriptions","organizations_url":"https://api.github.com/users/emmauss/orgs","repos_url":"https://api.github.com/users/emmauss/repos","events_url":"https://api.github.com/users/emmauss/events{/privacy}","received_events_url":"https://api.github.com/users/emmauss/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/emmauss/Ryujinx","description":"Experimental Switch emulator written in C#","fork":true,"url":"https://api.github.com/repos/emmauss/Ryujinx","forks_url":"https://api.github.com/repos/emmauss/Ryujinx/forks","keys_url":"https://api.github.com/repos/emmauss/Ryujinx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emmauss/Ryujinx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emmauss/Ryujinx/teams","hooks_url":"https://api.github.com/repos/emmauss/Ryujinx/hooks","issue_events_url":"https://api.github.com/repos/emmauss/Ryujinx/issues/events{/number}","events_url":"https://api.github.com/repos/emmauss/Ryujinx/events","assignees_url":"https://api.github.com/repos/emmauss/Ryujinx/assignees{/user}","branches_url":"https://api.github.com/repos/emmauss/Ryujinx/branches{/branch}","tags_url":"https://api.github.com/repos/emmauss/Ryujinx/tags","blobs_url":"https://api.github.com/repos/emmauss/Ryujinx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emmauss/Ryujinx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emmauss/Ryujinx/git/refs{/sha}","trees_url":"https://api.github.com/repos/emmauss/Ryujinx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emmauss/Ryujinx/statuses/{sha}","languages_url":"https://api.github.com/repos/emmauss/Ryujinx/languages","stargazers_url":"https://api.github.com/repos/emmauss/Ryujinx/stargazers","contributors_url":"https://api.github.com/repos/emmauss/Ryujinx/contributors","subscribers_url":"https://api.github.com/repos/emmauss/Ryujinx/subscribers","subscription_url":"https://api.github.com/repos/emmauss/Ryujinx/subscription","commits_url":"https://api.github.com/repos/emmauss/Ryujinx/commits{/sha}","git_commits_url":"https://api.github.com/repos/emmauss/Ryujinx/git/commits{/sha}","comments_url":"https://api.github.com/repos/emmauss/Ryujinx/comments{/number}","issue_comment_url":"https://api.github.com/repos/emmauss/Ryujinx/issues/comments{/number}","contents_url":"https://api.github.com/repos/emmauss/Ryujinx/contents/{+path}","compare_url":"https://api.github.com/repos/emmauss/Ryujinx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emmauss/Ryujinx/merges","archive_url":"https://api.github.com/repos/emmauss/Ryujinx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emmauss/Ryujinx/downloads","issues_url":"https://api.github.com/repos/emmauss/Ryujinx/issues{/number}","pulls_url":"https://api.github.com/repos/emmauss/Ryujinx/pulls{/number}","milestones_url":"https://api.github.com/repos/emmauss/Ryujinx/milestones{/number}","notifications_url":"https://api.github.com/repos/emmauss/Ryujinx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emmauss/Ryujinx/labels{/name}","releases_url":"https://api.github.com/repos/emmauss/Ryujinx/releases{/id}","deployments_url":"https://api.github.com/repos/emmauss/Ryujinx/deployments","created_at":"2018-02-05T21:42:36Z","updated_at":"2018-07-11T20:04:58Z","pushed_at":"2018-07-17T20:36:46Z","git_url":"git://github.com/emmauss/Ryujinx.git","ssh_url":"git@github.com:emmauss/Ryujinx.git","clone_url":"https://github.com/emmauss/Ryujinx.git","svn_url":"https://github.com/emmauss/Ryujinx","homepage":null,"size":9214,"stargazers_count":2,"watchers_count":2,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"unlicense","name":"The Unlicense","spdx_id":"Unlicense","url":"https://api.github.com/licenses/unlicense","node_id":"MDc6TGljZW5zZTE1"},"forks":0,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"Ryujinx:master","ref":"master","sha":"be31f5b46d16f0f8730d9a9ec71f938eee97524a","user":{"login":"Ryujinx","id":39036280,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5MDM2Mjgw","avatar_url":"https://avatars3.githubusercontent.com/u/39036280?v=4","gravatar_id":"","url":"https://api.github.com/users/Ryujinx","html_url":"https://github.com/Ryujinx","followers_url":"https://api.github.com/users/Ryujinx/followers","following_url":"https://api.github.com/users/Ryujinx/following{/other_user}","gists_url":"https://api.github.com/users/Ryujinx/gists{/gist_id}","starred_url":"https://api.github.com/users/Ryujinx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ryujinx/subscriptions","organizations_url":"https://api.github.com/users/Ryujinx/orgs","repos_url":"https://api.github.com/users/Ryujinx/repos","events_url":"https://api.github.com/users/Ryujinx/events{/privacy}","received_events_url":"https://api.github.com/users/Ryujinx/received_events","type":"Organization","site_admin":false},"repo":{"id":120231691,"node_id":"MDEwOlJlcG9zaXRvcnkxMjAyMzE2OTE=","name":"Ryujinx","full_name":"Ryujinx/Ryujinx","owner":{"login":"Ryujinx","id":39036280,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5MDM2Mjgw","avatar_url":"https://avatars3.githubusercontent.com/u/39036280?v=4","gravatar_id":"","url":"https://api.github.com/users/Ryujinx","html_url":"https://github.com/Ryujinx","followers_url":"https://api.github.com/users/Ryujinx/followers","following_url":"https://api.github.com/users/Ryujinx/following{/other_user}","gists_url":"https://api.github.com/users/Ryujinx/gists{/gist_id}","starred_url":"https://api.github.com/users/Ryujinx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ryujinx/subscriptions","organizations_url":"https://api.github.com/users/Ryujinx/orgs","repos_url":"https://api.github.com/users/Ryujinx/repos","events_url":"https://api.github.com/users/Ryujinx/events{/privacy}","received_events_url":"https://api.github.com/users/Ryujinx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Ryujinx/Ryujinx","description":"Experimental Switch emulator written in C#","fork":false,"url":"https://api.github.com/repos/Ryujinx/Ryujinx","forks_url":"https://api.github.com/repos/Ryujinx/Ryujinx/forks","keys_url":"https://api.github.com/repos/Ryujinx/Ryujinx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ryujinx/Ryujinx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ryujinx/Ryujinx/teams","hooks_url":"https://api.github.com/repos/Ryujinx/Ryujinx/hooks","issue_events_url":"https://api.github.com/repos/Ryujinx/Ryujinx/issues/events{/number}","events_url":"https://api.github.com/repos/Ryujinx/Ryujinx/events","assignees_url":"https://api.github.com/repos/Ryujinx/Ryujinx/assignees{/user}","branches_url":"https://api.github.com/repos/Ryujinx/Ryujinx/branches{/branch}","tags_url":"https://api.github.com/repos/Ryujinx/Ryujinx/tags","blobs_url":"https://api.github.com/repos/Ryujinx/Ryujinx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ryujinx/Ryujinx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ryujinx/Ryujinx/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ryujinx/Ryujinx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ryujinx/Ryujinx/statuses/{sha}","languages_url":"https://api.github.com/repos/Ryujinx/Ryujinx/languages","stargazers_url":"https://api.github.com/repos/Ryujinx/Ryujinx/stargazers","contributors_url":"https://api.github.com/repos/Ryujinx/Ryujinx/contributors","subscribers_url":"https://api.github.com/repos/Ryujinx/Ryujinx/subscribers","subscription_url":"https://api.github.com/repos/Ryujinx/Ryujinx/subscription","commits_url":"https://api.github.com/repos/Ryujinx/Ryujinx/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ryujinx/Ryujinx/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ryujinx/Ryujinx/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ryujinx/Ryujinx/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ryujinx/Ryujinx/contents/{+path}","compare_url":"https://api.github.com/repos/Ryujinx/Ryujinx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ryujinx/Ryujinx/merges","archive_url":"https://api.github.com/repos/Ryujinx/Ryujinx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ryujinx/Ryujinx/downloads","issues_url":"https://api.github.com/repos/Ryujinx/Ryujinx/issues{/number}","pulls_url":"https://api.github.com/repos/Ryujinx/Ryujinx/pulls{/number}","milestones_url":"https://api.github.com/repos/Ryujinx/Ryujinx/milestones{/number}","notifications_url":"https://api.github.com/repos/Ryujinx/Ryujinx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ryujinx/Ryujinx/labels{/name}","releases_url":"https://api.github.com/repos/Ryujinx/Ryujinx/releases{/id}","deployments_url":"https://api.github.com/repos/Ryujinx/Ryujinx/deployments","created_at":"2018-02-04T23:07:54Z","updated_at":"2018-07-17T20:29:05Z","pushed_at":"2018-07-17T20:36:48Z","git_url":"git://github.com/Ryujinx/Ryujinx.git","ssh_url":"git@github.com:Ryujinx/Ryujinx.git","clone_url":"https://github.com/Ryujinx/Ryujinx.git","svn_url":"https://github.com/Ryujinx/Ryujinx","homepage":null,"size":1722,"stargazers_count":609,"watchers_count":609,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":72,"mirror_url":null,"archived":false,"open_issues_count":42,"license":{"key":"unlicense","name":"The Unlicense","spdx_id":"Unlicense","url":"https://api.github.com/licenses/unlicense","node_id":"MDc6TGljZW5zZTE1"},"forks":72,"open_issues":42,"watchers":609,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Ryujinx/Ryujinx/pulls/266"},"html":{"href":"https://github.com/Ryujinx/Ryujinx/pull/266"},"issue":{"href":"https://api.github.com/repos/Ryujinx/Ryujinx/issues/266"},"comments":{"href":"https://api.github.com/repos/Ryujinx/Ryujinx/issues/266/comments"},"review_comments":{"href":"https://api.github.com/repos/Ryujinx/Ryujinx/pulls/266/comments"},"review_comment":{"href":"https://api.github.com/repos/Ryujinx/Ryujinx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Ryujinx/Ryujinx/pulls/266/commits"},"statuses":{"href":"https://api.github.com/repos/Ryujinx/Ryujinx/statuses/12ee90038094af2d74147dd1a1a549a1d333cafd"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"gdkchan"}}