fix(libSceVideoOut): ignore the reserved buffer pointers #1340
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1340"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by gjonn on 2026-10-07T23:51:58Z.
What
sceVideoOutRegisterBuffers2threw when either reserved pointer of aVideoOutBuffersentry was non-null. A title builds its first buffer array in uninitialized stack memory and writes onlydataandmetadataof each 32-byte entry (offsets 0 and 8), so the reserved fields hold whatever was on the stack. The console evidently ignores them, and so does this now.Tested
video_out_flip_tests controlsregisters and unregisters a buffer whose reserved pointers are set. It fails onmainwithVideoOut: reserved buffer pointers are setand passes with this change.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)