{"action":"created","issue":{"url":"https://api.github.com/repos/RPCS3/rpcs3/issues/4660","repository_url":"https://api.github.com/repos/RPCS3/rpcs3","labels_url":"https://api.github.com/repos/RPCS3/rpcs3/issues/4660/labels{/name}","comments_url":"https://api.github.com/repos/RPCS3/rpcs3/issues/4660/comments","events_url":"https://api.github.com/repos/RPCS3/rpcs3/issues/4660/events","html_url":"https://github.com/RPCS3/rpcs3/pull/4660","id":326732305,"number":4660,"title":"Rsx: Naughty fixes","user":{"login":"elad335","id":18193363,"avatar_url":"https://avatars0.githubusercontent.com/u/18193363?v=4","gravatar_id":"","url":"https://api.github.com/users/elad335","html_url":"https://github.com/elad335","followers_url":"https://api.github.com/users/elad335/followers","following_url":"https://api.github.com/users/elad335/following{/other_user}","gists_url":"https://api.github.com/users/elad335/gists{/gist_id}","starred_url":"https://api.github.com/users/elad335/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elad335/subscriptions","organizations_url":"https://api.github.com/users/elad335/orgs","repos_url":"https://api.github.com/users/elad335/repos","events_url":"https://api.github.com/users/elad335/events{/privacy}","received_events_url":"https://api.github.com/users/elad335/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-26T11:47:42Z","updated_at":"2018-05-26T13:01:59Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/RPCS3/rpcs3/pulls/4660","html_url":"https://github.com/RPCS3/rpcs3/pull/4660","diff_url":"https://github.com/RPCS3/rpcs3/pull/4660.diff","patch_url":"https://github.com/RPCS3/rpcs3/pull/4660.patch"},"body":"Allow sys_mmapper to unmap rsx mapped memory - a little background\r\nfrom hw testing, when sys_mmapper unmaps memory that was mapped to rsx memory, it notifies the kernel that this memory can be remapped for rsx later on, this fixes cellGcmMapMainMemory offset values.\r\nthe fix for this was different in hle and lle cellgcm\r\ncellgcm hle fix- set memory \"unmapped\" status values in the rsx offset table in sys_mmapper and check them later in  cellGcmMapMainMemory.\r\ncellgcm lle fix- notify the gcm interrupt thread about freeing rsx mappped memory in sys_mmapper\r\n(credit to @jarveson for figuring out how sys_mmapper communicates with cellgcm, I figured the data's encryption in the notification event and how the gcm knows the address and the size of the memory that was unmapped.)\r\na few naughty dog games not only use this but check the offset values returned from this call.\r\n\r\n\r\n\r\n# games improved\r\n**Uncharted 2 can now go ingame!** (with lle libvdec)\r\n**Uncharted 3 goes to menu for the first time!**\r\n**The Last Of Us no longer traps on cutscenes** (but still requires a save because of a segfault in video closing sequance.)\r\n\r\n![image](https://user-images.githubusercontent.com/18193363/40575766-9e93d5fa-60f3-11e8-8a73-ad868bce8902.png)\r\n\r\ncheers!\r\n"},"comment":{"url":"https://api.github.com/repos/RPCS3/rpcs3/issues/comments/392259996","html_url":"https://github.com/RPCS3/rpcs3/pull/4660#issuecomment-392259996","issue_url":"https://api.github.com/repos/RPCS3/rpcs3/issues/4660","id":392259996,"user":{"login":"Xcedf","id":7060586,"avatar_url":"https://avatars0.githubusercontent.com/u/7060586?v=4","gravatar_id":"","url":"https://api.github.com/users/Xcedf","html_url":"https://github.com/Xcedf","followers_url":"https://api.github.com/users/Xcedf/followers","following_url":"https://api.github.com/users/Xcedf/following{/other_user}","gists_url":"https://api.github.com/users/Xcedf/gists{/gist_id}","starred_url":"https://api.github.com/users/Xcedf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xcedf/subscriptions","organizations_url":"https://api.github.com/users/Xcedf/orgs","repos_url":"https://api.github.com/users/Xcedf/repos","events_url":"https://api.github.com/users/Xcedf/events{/privacy}","received_events_url":"https://api.github.com/users/Xcedf/received_events","type":"User","site_admin":false},"created_at":"2018-05-26T13:01:59Z","updated_at":"2018-05-26T13:01:59Z","author_association":"NONE","body":"Also seems to fix random Traps in Uncharted 1"}}
{"actor":{"display_login":"Xcedf"}}