{"action":"created","issue":{"url":"https://api.github.com/repos/drhelius/Gearboy/issues/29","labels_url":"https://api.github.com/repos/drhelius/Gearboy/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/drhelius/Gearboy/issues/29/comments","events_url":"https://api.github.com/repos/drhelius/Gearboy/issues/29/events","html_url":"https://github.com/drhelius/Gearboy/pull/29","id":60683944,"number":29,"title":"Implemented save/load state (excluding state slots)","user":{"login":"Baekalfen","id":5528170,"avatar_url":"https://avatars.githubusercontent.com/u/5528170?v=3","gravatar_id":"","url":"https://api.github.com/users/Baekalfen","html_url":"https://github.com/Baekalfen","followers_url":"https://api.github.com/users/Baekalfen/followers","following_url":"https://api.github.com/users/Baekalfen/following{/other_user}","gists_url":"https://api.github.com/users/Baekalfen/gists{/gist_id}","starred_url":"https://api.github.com/users/Baekalfen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Baekalfen/subscriptions","organizations_url":"https://api.github.com/users/Baekalfen/orgs","repos_url":"https://api.github.com/users/Baekalfen/repos","events_url":"https://api.github.com/users/Baekalfen/events{/privacy}","received_events_url":"https://api.github.com/users/Baekalfen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-11T16:14:40Z","updated_at":"2015-03-11T17:30:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/drhelius/Gearboy/pulls/29","html_url":"https://github.com/drhelius/Gearboy/pull/29","diff_url":"https://github.com/drhelius/Gearboy/pull/29.diff","patch_url":"https://github.com/drhelius/Gearboy/pull/29.patch"},"body":"I read in the readme.md (before the 74ce318 commit), that save and load state weren't implemented, so i gave it a shot.\r\n\r\nI implemented it quite simply by saving/loading the CPU registers and RAM to/from a csv file. To use it, just load a ROM and save the state at some point (using the menu button or CMD+S) and load it again later (using the menu button or CMD+L).\r\n\r\nI have discovered 1 bug, that I'm not sure how to fix. Loading a state before the Nintendo boot-up logo disappears, causes the game to freeze. Maybe there is a way to skip the logo?\r\n\r\nP.S.\r\nThis is my first pull request, so please be patient if I made some mistakes."},"comment":{"url":"https://api.github.com/repos/drhelius/Gearboy/issues/comments/78312856","html_url":"https://github.com/drhelius/Gearboy/pull/29#issuecomment-78312856","issue_url":"https://api.github.com/repos/drhelius/Gearboy/issues/29","id":78312856,"user":{"login":"drhelius","id":863613,"avatar_url":"https://avatars.githubusercontent.com/u/863613?v=3","gravatar_id":"","url":"https://api.github.com/users/drhelius","html_url":"https://github.com/drhelius","followers_url":"https://api.github.com/users/drhelius/followers","following_url":"https://api.github.com/users/drhelius/following{/other_user}","gists_url":"https://api.github.com/users/drhelius/gists{/gist_id}","starred_url":"https://api.github.com/users/drhelius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drhelius/subscriptions","organizations_url":"https://api.github.com/users/drhelius/orgs","repos_url":"https://api.github.com/users/drhelius/repos","events_url":"https://api.github.com/users/drhelius/events{/privacy}","received_events_url":"https://api.github.com/users/drhelius/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T17:30:05Z","updated_at":"2015-03-11T17:30:05Z","body":"Awesome!\r\nThis is my first pull request to review too, so be patient ;)"}}