mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-22 16:43:05 -05:00
libSceAmpr gains sceAmprAmmCommandBufferRemap, MultiMap, ModifyProtect and ModifyMtypeProtect with their GPU mask forms and the eight measure functions. Signatures and the protection and mask checks follow ampr_emu. The executor keeps a page table of the AMM ranges: each page's physical offset, protection, memory type and whether it came from the pool. A remap moves the pages of a fully mapped range and leaves the old range reserved; a multimap maps the same pages again; a pool page returns to the pool only when its last mapping goes. A protection change applies the masked bits page by page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>