{"action":"created","issue":{"url":"https://api.github.com/repos/smealum/ctrulib/issues/176","labels_url":"https://api.github.com/repos/smealum/ctrulib/issues/176/labels{/name}","comments_url":"https://api.github.com/repos/smealum/ctrulib/issues/176/comments","events_url":"https://api.github.com/repos/smealum/ctrulib/issues/176/events","html_url":"https://github.com/smealum/ctrulib/pull/176","id":109187169,"number":176,"title":"Implement some services from gsp::Lcd.","user":{"login":"thedax","id":4482745,"avatar_url":"https://avatars.githubusercontent.com/u/4482745?v=3","gravatar_id":"","url":"https://api.github.com/users/thedax","html_url":"https://github.com/thedax","followers_url":"https://api.github.com/users/thedax/followers","following_url":"https://api.github.com/users/thedax/following{/other_user}","gists_url":"https://api.github.com/users/thedax/gists{/gist_id}","starred_url":"https://api.github.com/users/thedax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thedax/subscriptions","organizations_url":"https://api.github.com/users/thedax/orgs","repos_url":"https://api.github.com/users/thedax/repos","events_url":"https://api.github.com/users/thedax/events{/privacy}","received_events_url":"https://api.github.com/users/thedax/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-09-30T21:54:13Z","updated_at":"2015-10-02T21:03:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/smealum/ctrulib/pulls/176","html_url":"https://github.com/smealum/ctrulib/pull/176","diff_url":"https://github.com/smealum/ctrulib/pull/176.diff","patch_url":"https://github.com/smealum/ctrulib/pull/176.patch"},"body":"http://www.3dbrew.org/wiki/GSP_Services\r\n\r\n~~Kind of like svcBackdoor, this would require service access check patching (and therefore ARM11 kernel, I suppose?), but it'd be nice to have it for power saving.~~ It seems my makerom from project_ctr was outdated, and it's working now without requiring service access patching. I can't get my test program to work in ninjhax2 though.\r\n\r\nOne word of warning when using this service: make sure to release the handle before letting the home button be pressed/letting your application be interrupted by something; the entire 3DS console seems to hang if the currently running program has the handle. It's also a good idea to turn whichever backlight(s) on before exiting the application, since the home menu doesn't seem to re-enable it (not sure if the Homebrew Launcher does, but I assume it doesn't).\r\n\r\nThanks to @Megazig, @Normmatt and the others who helped me on IRC the other night."},"comment":{"url":"https://api.github.com/repos/smealum/ctrulib/issues/comments/145154817","html_url":"https://github.com/smealum/ctrulib/pull/176#issuecomment-145154817","issue_url":"https://api.github.com/repos/smealum/ctrulib/issues/176","id":145154817,"user":{"login":"Megazig","id":54626,"avatar_url":"https://avatars.githubusercontent.com/u/54626?v=3","gravatar_id":"","url":"https://api.github.com/users/Megazig","html_url":"https://github.com/Megazig","followers_url":"https://api.github.com/users/Megazig/followers","following_url":"https://api.github.com/users/Megazig/following{/other_user}","gists_url":"https://api.github.com/users/Megazig/gists{/gist_id}","starred_url":"https://api.github.com/users/Megazig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Megazig/subscriptions","organizations_url":"https://api.github.com/users/Megazig/orgs","repos_url":"https://api.github.com/users/Megazig/repos","events_url":"https://api.github.com/users/Megazig/events{/privacy}","received_events_url":"https://api.github.com/users/Megazig/received_events","type":"User","site_admin":false},"created_at":"2015-10-02T21:03:23Z","updated_at":"2015-10-02T21:03:23Z","body":"for the svcSyncRequest calls, you should check if ret and return if not equal to 0, otherwise return cmdbuf[1];"}}