mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-05 13:20:11 +00:00
sceKernelWaitCommandBufferCompletion waits for an AMM submission as libSceAmpr's sceAmprAmmWaitCommandBufferCompletion does: 0 once the submission has run, SCE_KERNEL_ERROR_ESRCH for an id that was never submitted. The signature follows ampr_emu's libkernel hook targets, where the libSceAmpr wait forwards to it. guest_kernel_sys submits a map written by sceKernelWriteMapCommand, waits for it and uses the mapped page, and checks ids 0 and past the last submission.