Files
AnyPS5/docs
MarcZX10 b6a7ea0b34 docs(libSceAmpr): silent-stub command buffer calls release emulator expansions
Old claim: sceAmprCommandBufferDestructor, sceAmprAprCommandBufferDestructor,
sceAmprAmmCommandBufferConstructor and sceAmprAmmCommandBufferDestructor return 0
without reading or changing the buffer, and the AMM constructor leaves every field
of the buffer as the caller left it.

What the code does: each of the four calls ReleaseExpandedCommandBuffer on a
non-null buffer. When the emulator has expanded that buffer's commands, the helper
frees the expansion, restores the original base and size, and resets offset and the
command count to 0. The APR destructor does not touch its gather and scatter states.

Permalinks at b1b5353cfc:
- https://github.com/boykopovar/AnyPS5/blob/b1b5353cfcee098ed17e3ba8a6e616bee97c9215/core/libs/prx/libSceAmpr/Export.cpp#L91-L102
- https://github.com/boykopovar/AnyPS5/blob/b1b5353cfcee098ed17e3ba8a6e616bee97c9215/core/libs/prx/libSceAmpr/Export.cpp#L395-L400
- https://github.com/boykopovar/AnyPS5/blob/b1b5353cfcee098ed17e3ba8a6e616bee97c9215/core/libs/prx/libSceAmpr/Export.cpp#L503-L506
- https://github.com/boykopovar/AnyPS5/blob/b1b5353cfcee098ed17e3ba8a6e616bee97c9215/core/libs/prx/libSceAmpr/Export.cpp#L734-L743
2026-10-30 18:49:34 +00:00
..