{"action":"created","comment":{"url":"https://api.github.com/repos/decaf-emu/decaf-emu/pulls/comments/102454701","pull_request_review_id":23209244,"id":102454701,"diff_hunk":"@@ -322,7 +333,21 @@ save(const std::string &path)\n           cereal::make_nvp(\"jit\", CerealJit {}),\n           cereal::make_nvp(\"log\", CerealLog {}),\n           cereal::make_nvp(\"sound\", CerealSound {}),\n-          cereal::make_nvp(\"system\", CerealSystem {}));\n+          cereal::make_nvp(\"system\", CerealSystem {}),\n+          cereal::make_nvp(\"ui\", CerealUI {}));\n }\n \n } // namespace config\n+\n+// External serialization functions\n+namespace cereal\n+{\n+    // background_color_s serialization\n+    template<class Archive>\n+    void serialize(Archive &ar, decaf::config::ui::background_color_s &c)\n+    {\n+        ar(::cereal::make_nvp(\"red\", c.r),","path":"src/decaf-sdl/config.cpp","position":45,"original_position":45,"commit_id":"65670ad9a71607dc38ea34955f4953bae8425140","original_commit_id":"65670ad9a71607dc38ea34955f4953bae8425140","user":{"login":"exjam","id":1302758,"avatar_url":"https://avatars.githubusercontent.com/u/1302758?v=3","gravatar_id":"","url":"https://api.github.com/users/exjam","html_url":"https://github.com/exjam","followers_url":"https://api.github.com/users/exjam/followers","following_url":"https://api.github.com/users/exjam/following{/other_user}","gists_url":"https://api.github.com/users/exjam/gists{/gist_id}","starred_url":"https://api.github.com/users/exjam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exjam/subscriptions","organizations_url":"https://api.github.com/users/exjam/orgs","repos_url":"https://api.github.com/users/exjam/repos","events_url":"https://api.github.com/users/exjam/events{/privacy}","received_events_url":"https://api.github.com/users/exjam/received_events","type":"User","site_admin":false},"body":"cereal::make_nvp, not ::cereal::make_nvp","created_at":"2017-02-22T12:54:01Z","updated_at":"2017-02-22T12:56:00Z","html_url":"https://github.com/decaf-emu/decaf-emu/pull/393#discussion_r102454701","pull_request_url":"https://api.github.com/repos/decaf-emu/decaf-emu/pulls/393","_links":{"self":{"href":"https://api.github.com/repos/decaf-emu/decaf-emu/pulls/comments/102454701"},"html":{"href":"https://github.com/decaf-emu/decaf-emu/pull/393#discussion_r102454701"},"pull_request":{"href":"https://api.github.com/repos/decaf-emu/decaf-emu/pulls/393"}}},"pull_request":{"url":"https://api.github.com/repos/decaf-emu/decaf-emu/pulls/393","id":107268437,"html_url":"https://github.com/decaf-emu/decaf-emu/pull/393","diff_url":"https://github.com/decaf-emu/decaf-emu/pull/393.diff","patch_url":"https://github.com/decaf-emu/decaf-emu/pull/393.patch","issue_url":"https://api.github.com/repos/decaf-emu/decaf-emu/issues/393","number":393,"state":"open","locked":false,"title":"sdl: Make background color configurable","user":{"login":"VelocityRa","id":6632271,"avatar_url":"https://avatars.githubusercontent.com/u/6632271?v=3","gravatar_id":"","url":"https://api.github.com/users/VelocityRa","html_url":"https://github.com/VelocityRa","followers_url":"https://api.github.com/users/VelocityRa/followers","following_url":"https://api.github.com/users/VelocityRa/following{/other_user}","gists_url":"https://api.github.com/users/VelocityRa/gists{/gist_id}","starred_url":"https://api.github.com/users/VelocityRa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VelocityRa/subscriptions","organizations_url":"https://api.github.com/users/VelocityRa/orgs","repos_url":"https://api.github.com/users/VelocityRa/repos","events_url":"https://api.github.com/users/VelocityRa/events{/privacy}","received_events_url":"https://api.github.com/users/VelocityRa/received_events","type":"User","site_admin":false},"body":"```\r\n\"ui\": {\r\n    \"background_color\": {\r\n        \"red\": 153,\r\n        \"green\": 51,\r\n        \"blue\": 51\r\n    }\r\n}\r\n```\r\nResolves #364.","created_at":"2017-02-21T20:09:12Z","updated_at":"2017-02-22T12:56:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f1d9d931f93656e06cc1aeb4712a05a1a3fb9bff","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/decaf-emu/decaf-emu/pulls/393/commits","review_comments_url":"https://api.github.com/repos/decaf-emu/decaf-emu/pulls/393/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/393/comments","statuses_url":"https://api.github.com/repos/decaf-emu/decaf-emu/statuses/65670ad9a71607dc38ea34955f4953bae8425140","head":{"label":"VelocityRa:master","ref":"master","sha":"65670ad9a71607dc38ea34955f4953bae8425140","user":{"login":"VelocityRa","id":6632271,"avatar_url":"https://avatars.githubusercontent.com/u/6632271?v=3","gravatar_id":"","url":"https://api.github.com/users/VelocityRa","html_url":"https://github.com/VelocityRa","followers_url":"https://api.github.com/users/VelocityRa/followers","following_url":"https://api.github.com/users/VelocityRa/following{/other_user}","gists_url":"https://api.github.com/users/VelocityRa/gists{/gist_id}","starred_url":"https://api.github.com/users/VelocityRa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VelocityRa/subscriptions","organizations_url":"https://api.github.com/users/VelocityRa/orgs","repos_url":"https://api.github.com/users/VelocityRa/repos","events_url":"https://api.github.com/users/VelocityRa/events{/privacy}","received_events_url":"https://api.github.com/users/VelocityRa/received_events","type":"User","site_admin":false},"repo":{"id":62252903,"name":"decaf-emu","full_name":"VelocityRa/decaf-emu","owner":{"login":"VelocityRa","id":6632271,"avatar_url":"https://avatars.githubusercontent.com/u/6632271?v=3","gravatar_id":"","url":"https://api.github.com/users/VelocityRa","html_url":"https://github.com/VelocityRa","followers_url":"https://api.github.com/users/VelocityRa/followers","following_url":"https://api.github.com/users/VelocityRa/following{/other_user}","gists_url":"https://api.github.com/users/VelocityRa/gists{/gist_id}","starred_url":"https://api.github.com/users/VelocityRa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VelocityRa/subscriptions","organizations_url":"https://api.github.com/users/VelocityRa/orgs","repos_url":"https://api.github.com/users/VelocityRa/repos","events_url":"https://api.github.com/users/VelocityRa/events{/privacy}","received_events_url":"https://api.github.com/users/VelocityRa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/VelocityRa/decaf-emu","description":"Researching Wii U emulation.","fork":true,"url":"https://api.github.com/repos/VelocityRa/decaf-emu","forks_url":"https://api.github.com/repos/VelocityRa/decaf-emu/forks","keys_url":"https://api.github.com/repos/VelocityRa/decaf-emu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VelocityRa/decaf-emu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VelocityRa/decaf-emu/teams","hooks_url":"https://api.github.com/repos/VelocityRa/decaf-emu/hooks","issue_events_url":"https://api.github.com/repos/VelocityRa/decaf-emu/issues/events{/number}","events_url":"https://api.github.com/repos/VelocityRa/decaf-emu/events","assignees_url":"https://api.github.com/repos/VelocityRa/decaf-emu/assignees{/user}","branches_url":"https://api.github.com/repos/VelocityRa/decaf-emu/branches{/branch}","tags_url":"https://api.github.com/repos/VelocityRa/decaf-emu/tags","blobs_url":"https://api.github.com/repos/VelocityRa/decaf-emu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VelocityRa/decaf-emu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VelocityRa/decaf-emu/git/refs{/sha}","trees_url":"https://api.github.com/repos/VelocityRa/decaf-emu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VelocityRa/decaf-emu/statuses/{sha}","languages_url":"https://api.github.com/repos/VelocityRa/decaf-emu/languages","stargazers_url":"https://api.github.com/repos/VelocityRa/decaf-emu/stargazers","contributors_url":"https://api.github.com/repos/VelocityRa/decaf-emu/contributors","subscribers_url":"https://api.github.com/repos/VelocityRa/decaf-emu/subscribers","subscription_url":"https://api.github.com/repos/VelocityRa/decaf-emu/subscription","commits_url":"https://api.github.com/repos/VelocityRa/decaf-emu/commits{/sha}","git_commits_url":"https://api.github.com/repos/VelocityRa/decaf-emu/git/commits{/sha}","comments_url":"https://api.github.com/repos/VelocityRa/decaf-emu/comments{/number}","issue_comment_url":"https://api.github.com/repos/VelocityRa/decaf-emu/issues/comments{/number}","contents_url":"https://api.github.com/repos/VelocityRa/decaf-emu/contents/{+path}","compare_url":"https://api.github.com/repos/VelocityRa/decaf-emu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VelocityRa/decaf-emu/merges","archive_url":"https://api.github.com/repos/VelocityRa/decaf-emu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VelocityRa/decaf-emu/downloads","issues_url":"https://api.github.com/repos/VelocityRa/decaf-emu/issues{/number}","pulls_url":"https://api.github.com/repos/VelocityRa/decaf-emu/pulls{/number}","milestones_url":"https://api.github.com/repos/VelocityRa/decaf-emu/milestones{/number}","notifications_url":"https://api.github.com/repos/VelocityRa/decaf-emu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VelocityRa/decaf-emu/labels{/name}","releases_url":"https://api.github.com/repos/VelocityRa/decaf-emu/releases{/id}","deployments_url":"https://api.github.com/repos/VelocityRa/decaf-emu/deployments","created_at":"2016-06-29T19:38:59Z","updated_at":"2016-06-29T19:39:01Z","pushed_at":"2017-02-21T20:06:57Z","git_url":"git://github.com/VelocityRa/decaf-emu.git","ssh_url":"git@github.com:VelocityRa/decaf-emu.git","clone_url":"https://github.com/VelocityRa/decaf-emu.git","svn_url":"https://github.com/VelocityRa/decaf-emu","homepage":null,"size":7621,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"f114c98f9983491539d9b34f5d2945803cc0e8b3","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}","deployments_url":"https://api.github.com/repos/decaf-emu/decaf-emu/deployments","created_at":"2015-05-18T22:29:19Z","updated_at":"2017-02-21T18:41:52Z","pushed_at":"2017-02-21T20:09:13Z","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":7722,"stargazers_count":466,"watchers_count":466,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":53,"mirror_url":null,"open_issues_count":50,"forks":53,"open_issues":50,"watchers":466,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/decaf-emu/decaf-emu/pulls/393"},"html":{"href":"https://github.com/decaf-emu/decaf-emu/pull/393"},"issue":{"href":"https://api.github.com/repos/decaf-emu/decaf-emu/issues/393"},"comments":{"href":"https://api.github.com/repos/decaf-emu/decaf-emu/issues/393/comments"},"review_comments":{"href":"https://api.github.com/repos/decaf-emu/decaf-emu/pulls/393/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/393/commits"},"statuses":{"href":"https://api.github.com/repos/decaf-emu/decaf-emu/statuses/65670ad9a71607dc38ea34955f4953bae8425140"}}}}
{"actor":{"display_login":"exjam"}}