{"action":"opened","number":127,"pull_request":{"url":"https://api.github.com/repos/decaf-emu/decaf-emu/pulls/127","id":54304093,"html_url":"https://github.com/decaf-emu/decaf-emu/pull/127","diff_url":"https://github.com/decaf-emu/decaf-emu/pull/127.diff","patch_url":"https://github.com/decaf-emu/decaf-emu/pull/127.patch","issue_url":"https://api.github.com/repos/decaf-emu/decaf-emu/issues/127","number":127,"state":"open","locked":false,"title":"Calculate proper display buffer sizes in GX2Calc{TV,DRC}Size().","user":{"login":"achurch","id":6619925,"avatar_url":"https://avatars.githubusercontent.com/u/6619925?v=3","gravatar_id":"","url":"https://api.github.com/users/achurch","html_url":"https://github.com/achurch","followers_url":"https://api.github.com/users/achurch/followers","following_url":"https://api.github.com/users/achurch/following{/other_user}","gists_url":"https://api.github.com/users/achurch/gists{/gist_id}","starred_url":"https://api.github.com/users/achurch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achurch/subscriptions","organizations_url":"https://api.github.com/users/achurch/orgs","repos_url":"https://api.github.com/users/achurch/repos","events_url":"https://api.github.com/users/achurch/events{/privacy}","received_events_url":"https://api.github.com/users/achurch/received_events","type":"User","site_admin":false},"body":"I've verified the return values for TV (at 720p) and DRC with R8_G8_B8_A8 format, so in particular, 864 instead of 854 is correct for the gamepad screen. I didn't check which formats are accepted by the hardware (mostly because I haven't been able to successfully set up a drawing environment yet), so I just wrote a generic function to return bits per pixel for all surface formats; that could probably be moved to some common source file if there are any other functions which need bits/pixel info.","created_at":"2015-12-21T21:18:03Z","updated_at":"2015-12-21T21:18:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/decaf-emu/decaf-emu/pulls/127/commits","review_comments_url":"https://api.github.com/repos/decaf-emu/decaf-emu/pulls/127/comments","review_comment_url":"https://api.github.com/repos/decaf-emu/decaf-emu/pulls/comments{/number}","comments_url":"https://api.github.com/repos/decaf-emu/decaf-emu/issues/127/comments","statuses_url":"https://api.github.com/repos/decaf-emu/decaf-emu/statuses/43454626c6e4e39c3b01b312efdc8c7be04e7d4d","head":{"label":"achurch:gx2-calc-size","ref":"gx2-calc-size","sha":"43454626c6e4e39c3b01b312efdc8c7be04e7d4d","user":{"login":"achurch","id":6619925,"avatar_url":"https://avatars.githubusercontent.com/u/6619925?v=3","gravatar_id":"","url":"https://api.github.com/users/achurch","html_url":"https://github.com/achurch","followers_url":"https://api.github.com/users/achurch/followers","following_url":"https://api.github.com/users/achurch/following{/other_user}","gists_url":"https://api.github.com/users/achurch/gists{/gist_id}","starred_url":"https://api.github.com/users/achurch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achurch/subscriptions","organizations_url":"https://api.github.com/users/achurch/orgs","repos_url":"https://api.github.com/users/achurch/repos","events_url":"https://api.github.com/users/achurch/events{/privacy}","received_events_url":"https://api.github.com/users/achurch/received_events","type":"User","site_admin":false},"repo":{"id":47096572,"name":"decaf-emu","full_name":"achurch/decaf-emu","owner":{"login":"achurch","id":6619925,"avatar_url":"https://avatars.githubusercontent.com/u/6619925?v=3","gravatar_id":"","url":"https://api.github.com/users/achurch","html_url":"https://github.com/achurch","followers_url":"https://api.github.com/users/achurch/followers","following_url":"https://api.github.com/users/achurch/following{/other_user}","gists_url":"https://api.github.com/users/achurch/gists{/gist_id}","starred_url":"https://api.github.com/users/achurch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achurch/subscriptions","organizations_url":"https://api.github.com/users/achurch/orgs","repos_url":"https://api.github.com/users/achurch/repos","events_url":"https://api.github.com/users/achurch/events{/privacy}","received_events_url":"https://api.github.com/users/achurch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/achurch/decaf-emu","description":"Researching Wii U emulation.","fork":true,"url":"https://api.github.com/repos/achurch/decaf-emu","forks_url":"https://api.github.com/repos/achurch/decaf-emu/forks","keys_url":"https://api.github.com/repos/achurch/decaf-emu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/achurch/decaf-emu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/achurch/decaf-emu/teams","hooks_url":"https://api.github.com/repos/achurch/decaf-emu/hooks","issue_events_url":"https://api.github.com/repos/achurch/decaf-emu/issues/events{/number}","events_url":"https://api.github.com/repos/achurch/decaf-emu/events","assignees_url":"https://api.github.com/repos/achurch/decaf-emu/assignees{/user}","branches_url":"https://api.github.com/repos/achurch/decaf-emu/branches{/branch}","tags_url":"https://api.github.com/repos/achurch/decaf-emu/tags","blobs_url":"https://api.github.com/repos/achurch/decaf-emu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/achurch/decaf-emu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/achurch/decaf-emu/git/refs{/sha}","trees_url":"https://api.github.com/repos/achurch/decaf-emu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/achurch/decaf-emu/statuses/{sha}","languages_url":"https://api.github.com/repos/achurch/decaf-emu/languages","stargazers_url":"https://api.github.com/repos/achurch/decaf-emu/stargazers","contributors_url":"https://api.github.com/repos/achurch/decaf-emu/contributors","subscribers_url":"https://api.github.com/repos/achurch/decaf-emu/subscribers","subscription_url":"https://api.github.com/repos/achurch/decaf-emu/subscription","commits_url":"https://api.github.com/repos/achurch/decaf-emu/commits{/sha}","git_commits_url":"https://api.github.com/repos/achurch/decaf-emu/git/commits{/sha}","comments_url":"https://api.github.com/repos/achurch/decaf-emu/comments{/number}","issue_comment_url":"https://api.github.com/repos/achurch/decaf-emu/issues/comments{/number}","contents_url":"https://api.github.com/repos/achurch/decaf-emu/contents/{+path}","compare_url":"https://api.github.com/repos/achurch/decaf-emu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/achurch/decaf-emu/merges","archive_url":"https://api.github.com/repos/achurch/decaf-emu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/achurch/decaf-emu/downloads","issues_url":"https://api.github.com/repos/achurch/decaf-emu/issues{/number}","pulls_url":"https://api.github.com/repos/achurch/decaf-emu/pulls{/number}","milestones_url":"https://api.github.com/repos/achurch/decaf-emu/milestones{/number}","notifications_url":"https://api.github.com/repos/achurch/decaf-emu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/achurch/decaf-emu/labels{/name}","releases_url":"https://api.github.com/repos/achurch/decaf-emu/releases{/id}","created_at":"2015-11-30T05:09:05Z","updated_at":"2015-11-30T05:09:07Z","pushed_at":"2015-12-21T21:09:56Z","git_url":"git://github.com/achurch/decaf-emu.git","ssh_url":"git@github.com:achurch/decaf-emu.git","clone_url":"https://github.com/achurch/decaf-emu.git","svn_url":"https://github.com/achurch/decaf-emu","homepage":null,"size":3427,"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":"decaf-emu:master","ref":"master","sha":"e8c1455f54ad26cdd4497f658586cb55ca2e4176","user":{"login":"decaf-emu","id":15236850,"avatar_url":"https://avatars.githubusercontent.com/u/15236850?v=3","gravatar_id":"","url":"https://api.github.com/users/decaf-emu","html_url":"https://github.com/decaf-emu","followers_url":"https://api.github.com/users/decaf-emu/followers","following_url":"https://api.github.com/users/decaf-emu/following{/other_user}","gists_url":"https://api.github.com/users/decaf-emu/gists{/gist_id}","starred_url":"https://api.github.com/users/decaf-emu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/decaf-emu/subscriptions","organizations_url":"https://api.github.com/users/decaf-emu/orgs","repos_url":"https://api.github.com/users/decaf-emu/repos","events_url":"https://api.github.com/users/decaf-emu/events{/privacy}","received_events_url":"https://api.github.com/users/decaf-emu/received_events","type":"Organization","site_admin":false},"repo":{"id":35845931,"name":"decaf-emu","full_name":"decaf-emu/decaf-emu","owner":{"login":"decaf-emu","id":15236850,"avatar_url":"https://avatars.githubusercontent.com/u/15236850?v=3","gravatar_id":"","url":"https://api.github.com/users/decaf-emu","html_url":"https://github.com/decaf-emu","followers_url":"https://api.github.com/users/decaf-emu/followers","following_url":"https://api.github.com/users/decaf-emu/following{/other_user}","gists_url":"https://api.github.com/users/decaf-emu/gists{/gist_id}","starred_url":"https://api.github.com/users/decaf-emu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/decaf-emu/subscriptions","organizations_url":"https://api.github.com/users/decaf-emu/orgs","repos_url":"https://api.github.com/users/decaf-emu/repos","events_url":"https://api.github.com/users/decaf-emu/events{/privacy}","received_events_url":"https://api.github.com/users/decaf-emu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/decaf-emu/decaf-emu","description":"Researching Wii U emulation.","fork":false,"url":"https://api.github.com/repos/decaf-emu/decaf-emu","forks_url":"https://api.github.com/repos/decaf-emu/decaf-emu/forks","keys_url":"https://api.github.com/repos/decaf-emu/decaf-emu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/decaf-emu/decaf-emu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/decaf-emu/decaf-emu/teams","hooks_url":"https://api.github.com/repos/decaf-emu/decaf-emu/hooks","issue_events_url":"https://api.github.com/repos/decaf-emu/decaf-emu/issues/events{/number}","events_url":"https://api.github.com/repos/decaf-emu/decaf-emu/events","assignees_url":"https://api.github.com/repos/decaf-emu/decaf-emu/assignees{/user}","branches_url":"https://api.github.com/repos/decaf-emu/decaf-emu/branches{/branch}","tags_url":"https://api.github.com/repos/decaf-emu/decaf-emu/tags","blobs_url":"https://api.github.com/repos/decaf-emu/decaf-emu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/decaf-emu/decaf-emu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/decaf-emu/decaf-emu/git/refs{/sha}","trees_url":"https://api.github.com/repos/decaf-emu/decaf-emu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/decaf-emu/decaf-emu/statuses/{sha}","languages_url":"https://api.github.com/repos/decaf-emu/decaf-emu/languages","stargazers_url":"https://api.github.com/repos/decaf-emu/decaf-emu/stargazers","contributors_url":"https://api.github.com/repos/decaf-emu/decaf-emu/contributors","subscribers_url":"https://api.github.com/repos/decaf-emu/decaf-emu/subscribers","subscription_url":"https://api.github.com/repos/decaf-emu/decaf-emu/subscription","commits_url":"https://api.github.com/repos/decaf-emu/decaf-emu/commits{/sha}","git_commits_url":"https://api.github.com/repos/decaf-emu/decaf-emu/git/commits{/sha}","comments_url":"https://api.github.com/repos/decaf-emu/decaf-emu/comments{/number}","issue_comment_url":"https://api.github.com/repos/decaf-emu/decaf-emu/issues/comments{/number}","contents_url":"https://api.github.com/repos/decaf-emu/decaf-emu/contents/{+path}","compare_url":"https://api.github.com/repos/decaf-emu/decaf-emu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/decaf-emu/decaf-emu/merges","archive_url":"https://api.github.com/repos/decaf-emu/decaf-emu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/decaf-emu/decaf-emu/downloads","issues_url":"https://api.github.com/repos/decaf-emu/decaf-emu/issues{/number}","pulls_url":"https://api.github.com/repos/decaf-emu/decaf-emu/pulls{/number}","milestones_url":"https://api.github.com/repos/decaf-emu/decaf-emu/milestones{/number}","notifications_url":"https://api.github.com/repos/decaf-emu/decaf-emu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/decaf-emu/decaf-emu/labels{/name}","releases_url":"https://api.github.com/repos/decaf-emu/decaf-emu/releases{/id}","created_at":"2015-05-18T22:29:19Z","updated_at":"2015-12-21T12:56:00Z","pushed_at":"2015-12-21T18:23:04Z","git_url":"git://github.com/decaf-emu/decaf-emu.git","ssh_url":"git@github.com:decaf-emu/decaf-emu.git","clone_url":"https://github.com/decaf-emu/decaf-emu.git","svn_url":"https://github.com/decaf-emu/decaf-emu","homepage":null,"size":3689,"stargazers_count":215,"watchers_count":215,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":12,"forks":31,"open_issues":12,"watchers":215,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/decaf-emu/decaf-emu/pulls/127"},"html":{"href":"https://github.com/decaf-emu/decaf-emu/pull/127"},"issue":{"href":"https://api.github.com/repos/decaf-emu/decaf-emu/issues/127"},"comments":{"href":"https://api.github.com/repos/decaf-emu/decaf-emu/issues/127/comments"},"review_comments":{"href":"https://api.github.com/repos/decaf-emu/decaf-emu/pulls/127/comments"},"review_comment":{"href":"https://api.github.com/repos/decaf-emu/decaf-emu/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/decaf-emu/decaf-emu/pulls/127/commits"},"statuses":{"href":"https://api.github.com/repos/decaf-emu/decaf-emu/statuses/43454626c6e4e39c3b01b312efdc8c7be04e7d4d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":142,"deletions":17,"changed_files":1}}